org.jfree.util
public class DefaultConfiguration extends Properties implements ModifiableConfiguration
Constructor Summary | |
---|---|
DefaultConfiguration()
Creates an empty property list with no default values. |
Method Summary | |
---|---|
Iterator | findPropertyKeys(String prefix)
Searches all property keys that start with a given prefix.
|
Enumeration | getConfigProperties() |
String | getConfigProperty(String key)
Returns the configuration property with the specified key.
|
String | getConfigProperty(String key, String defaultValue)
Returns the configuration property with the specified key (or the
specified default value if there is no such property).
|
void | setConfigProperty(String key, String value)
Sets the value of a configuration property.
|
Parameters: prefix the prefix that all selected property keys should share
Returns: the properties as iterator.
Parameters: key the property key.
Returns: the property value.
Parameters: key the property key. defaultValue the default value.
Returns: the property value.
Parameters: key the property key. value the property value.