org.jfree.util
public class ExtendedConfigurationWrapper extends Object implements ExtendedConfiguration
| Constructor Summary | |
|---|---|
| ExtendedConfigurationWrapper(Configuration parent)
Creates a wrapper around the given configuration.
| |
| Method Summary | |
|---|---|
| Object | clone()
Returns a clone of this instance.
|
| Iterator | findPropertyKeys(String prefix)
Returns all keys with the given prefix.
|
| boolean | getBoolProperty(String name)
Returns the boolean value of a given configuration property. |
| boolean | getBoolProperty(String name, boolean defaultValue)
Returns the boolean value of a given configuration property. |
| Enumeration | getConfigProperties()
Returns an enumeration of the configuration properties.
|
| 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).
|
| int | getIntProperty(String name)
Returns a given property as int value. |
| int | getIntProperty(String name, int defaultValue)
Returns a given property as int value. |
| boolean | isPropertySet(String name)
Checks, whether a given property is defined.
|
Parameters: parent the wrapped up configuration.
Throws: NullPointerException if the parent is null.
Returns: A clone.
Throws: CloneNotSupportedException if there is a problem cloning.
Parameters: prefix the prefix
Returns: the iterator containing all keys with that prefix
Parameters: name the name of the property
Returns: the boolean value of the property.
Parameters: name the name of the property defaultValue the default value to be returned if the property is not set
Returns: the boolean value of the property.
Returns: An enumeration.
Parameters: key the property key.
Returns: the property value.
Parameters: key the property key. defaultValue the default value.
Returns: the property value.
Parameters: name the name of the property
Returns: the parsed number value or zero
Parameters: name the name of the property defaultValue the value to be returned if the property is no integer value
Returns: the parsed number value or the specified default value
Parameters: name the name of the property
Returns: true, if the property is defined, false otherwise.