| org.jfree.util.Configuration
All known Subclasses: org.jfree.xml.FrontendDefaultHandler,
Configuration | public interface Configuration extends Serializable,Cloneable(Code) | | A simple query interface for a configuration.
author: Thomas Morgner |
Method Summary | |
public Object | clone() Returns a clone of the object. | public Iterator | findPropertyKeys(String prefix) Returns all keys with the given prefix. | public Enumeration | getConfigProperties() Returns the configuration properties. | 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. |
findPropertyKeys | public Iterator findPropertyKeys(String prefix)(Code) | | Returns all keys with the given prefix.
Parameters: prefix - the prefix the iterator containing all keys with that prefix |
getConfigProperties | public Enumeration getConfigProperties()(Code) | | Returns the configuration properties.
The configuration properties. |
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. |
|
|