|
||||||||||
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
public class ConfigurationMap
The ConfigurationMap
wraps a
configuration-collection
Configuration
instance to provide a Map
interface.
Note: This implementation is incomplete.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
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()
entrySet
in interface Map
entrySet
in class AbstractMap
Map.entrySet()
public Object put(Object key, Object value)
put
in interface Map
put
in class AbstractMap
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)
get
in interface Map
get
in class AbstractMap
key
- the key
Map.get(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |