org.apache.batik.util.resources
public class ResourceManager extends Object
| Field Summary | |
|---|---|
| protected ResourceBundle | bundle
The managed resource bundle |
| Constructor Summary | |
|---|---|
| ResourceManager(ResourceBundle rb)
Creates a new resource manager | |
| Method Summary | |
|---|---|
| boolean | getBoolean(String key)
Returns the boolean mapped with the given key |
| int | getCharacter(String key) |
| int | getInteger(String key)
Returns the integer mapped with the given string |
| String | getString(String key)
Returns the string that is mapped with the given key |
| List | getStringList(String key)
Returns the tokens that compose the string mapped
with the given key. |
| List | getStringList(String key, String delim)
Returns the tokens that compose the string mapped
with the given key. |
| List | getStringList(String key, String delim, boolean returnDelims)
Returns the tokens that compose the string mapped
with the given key |
Parameters: rb a resource bundle
Parameters: key a key of the resource bundle
Throws: MissingResourceException if key is not the name of a resource ResourceFormatException if the resource is malformed
Parameters: key a key of the resource bundle
Throws: MissingResourceException if key is not the name of a resource ResourceFormatException if the resource is malformed
Parameters: key a key in the resource bundle
Throws: MissingResourceException if key is not the name of a resource
Parameters: key a key of the resource bundle
Throws: MissingResourceException if key is not the name of a resource
Parameters: key a key of the resource bundle delim the delimiters of the tokens
Throws: MissingResourceException if key is not the name of a resource
Parameters: key a key of the resource bundle delim the delimiters of the tokens returnDelims if true, the delimiters are returned in the list
Throws: MissingResourceException if key is not the name of a resource