| java.util.Properties org.jfree.util.DefaultConfiguration
Constructor Summary | |
public | DefaultConfiguration() Creates an empty property list with no default values. |
Method Summary | |
public Iterator | findPropertyKeys(String prefix) Searches all property keys that start with a given prefix. | public Enumeration | getConfigProperties() | public String | getConfigProperty(String key) Returns the configuration property with the specified key.
Parameters: key - the property key. | public 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).
If the property is not defined in this configuration, the code will
lookup the property in the parent configuration.
Parameters: key - the property key. Parameters: defaultValue - the default value. | public void | setConfigProperty(String key, String value) Sets the value of a configuration property. |
DefaultConfiguration | public DefaultConfiguration()(Code) | | Creates an empty property list with no default values.
|
findPropertyKeys | public Iterator findPropertyKeys(String prefix)(Code) | | Searches all property keys that start with a given prefix.
Parameters: prefix - the prefix that all selected property keys should share the properties as iterator. |
getConfigProperty | public String getConfigProperty(String key)(Code) | | Returns the configuration property with the specified key.
Parameters: key - the property key. the property value. |
getConfigProperty | public String getConfigProperty(String key, String defaultValue)(Code) | | Returns the configuration property with the specified key (or the
specified default value if there is no such property).
If the property is not defined in this configuration, the code will
lookup the property in the parent configuration.
Parameters: key - the property key. Parameters: defaultValue - the default value. the property value. |
setConfigProperty | public void setConfigProperty(String key, String value)(Code) | | Sets the value of a configuration property.
Parameters: key - the property key. Parameters: value - the property value. |
|
|