org.apache.commons.configuration
public class BaseConfiguration extends AbstractConfiguration implements Cloneable
Version: $Id: BaseConfiguration.java 495918 2007-01-13 16:33:02Z oheger $
Field Summary | |
---|---|
Map | store stores the configuration key-value pairs |
Method Summary | |
---|---|
protected void | addPropertyDirect(String key, Object value)
Adds a key/value pair to the map. |
void | clear() |
protected void | clearPropertyDirect(String key)
Clear a property in the configuration.
|
Object | clone()
Creates a copy of this object. |
boolean | containsKey(String key)
check if the configuration contains the key
|
Iterator | getKeys()
Get the list of the keys contained in the configuration
repository.
|
Object | getProperty(String key)
Read property from underlying map.
|
boolean | isEmpty()
Check if the configuration is empty
|
Parameters: key key to use for mapping value object to store
Parameters: key the key to remove along with corresponding value.
Returns: the copy
Since: 1.3
Parameters: key the configuration key
Returns: true
if Configuration contain given key,
false
otherwise.
Returns: An Iterator.
Parameters: key key to use for mapping
Returns: object associated with the given configuration key.
Returns: true
if Configuration is empty,
false
otherwise.