org.apache.commons.configuration
public class MapConfiguration extends AbstractConfiguration implements Cloneable
Since: 1.1
Version: $Revision: 515306 $, $Date: 2007-03-06 22:15:00 +0100 (Di, 06 Mrz 2007) $
| Field Summary | |
|---|---|
| protected Map | map The Map decorated by this configuration. |
| Constructor Summary | |
|---|---|
| MapConfiguration(Map map)
Create a Configuration decorator around the specified Map. | |
| Method Summary | |
|---|---|
| protected void | addPropertyDirect(String key, Object value) |
| protected void | clearPropertyDirect(String key) |
| Object | clone()
Returns a copy of this object. |
| boolean | containsKey(String key) |
| Iterator | getKeys() |
| Map | getMap()
Return the Map decorated by this configuration.
|
| Object | getProperty(String key) |
| boolean | isEmpty() |
Parameters: map the map
Returns: the copy
Since: 1.3
Returns: the map this configuration is based onto