|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractMap
org.apache.commons.configuration.ConfigurationMap
The ConfigurationMap wraps a
configuration-collection
Configuration
instance to provide a Map interface.
Note: This implementation is incomplete.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
Map.Entry |
| Constructor Summary | |
ConfigurationMap(Configuration configuration)
Creates a new instance of a ConfigurationMap
that wraps the specified Configuration
instance. |
|
| Method Summary | |
Set |
entrySet()
Returns a set with the entries contained in this configuration-based map. |
Object |
get(Object key)
Returns the value of the specified key. |
Configuration |
getConfiguration()
Returns the wrapped Configuration object. |
Object |
put(Object key,
Object value)
Stores the value for the specified key. |
| Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConfigurationMap(Configuration configuration)
ConfigurationMap
that wraps the specified Configuration
instance.
configuration - Configuration
instance.| Method Detail |
public Configuration getConfiguration()
Configuration object.
public Set entrySet()
Map.entrySet()
public Object put(Object key,
Object value)
key - the key (will be converted to a string)value - the value
Map.put(java.lang.Object, java.lang.Object)public Object get(Object key)
key - the key
Map.get(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||