org.mmbase.util.xml
Class UtilReader.PropertiesMap
java.lang.Object
java.util.AbstractMap
org.mmbase.util.xml.UtilReader.PropertiesMap
- All Implemented Interfaces:
- Map
- Enclosing class:
- UtilReader
- public static class UtilReader.PropertiesMap
- extends AbstractMap
A unmodifiable Map, with extra 'Properties'-like methods. The entries of this Map are
typically backed by the resources of an UtilReader (and the Map dynamically changes if the
resources change).
- Since:
- MMBase-1.8
| Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
UtilReader.PropertiesMap
public UtilReader.PropertiesMap()
- Creates an empty Map (not very useful since this Map is unmodifiable).
UtilReader.PropertiesMap
public UtilReader.PropertiesMap(Map map)
- Wrapping the given map.
entrySet
public Set entrySet()
-
getProperty
public Object getProperty(Object key,
Object defaultValue)
- Returns the object mapped with 'key', or defaultValue if there is none.
MMBase build 1.8.1.20060716