edu.internet2.middleware.grouper.ui.util
Class MapBundleWrapper
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
edu.internet2.middleware.grouper.ui.util.MapBundleWrapper
- All Implemented Interfaces:
- Serializable, Cloneable, Map
public class MapBundleWrapper
- extends HashMap
Convenience class to allow a ResourceBundle to be acessed as a Map - used in
JSTL. If a key starts with '*' the '*' is discarded, however, if no value is
found and empty String is returned rather than ???key???
- Version:
- $Id: MapBundleWrapper.java,v 1.4 2008-03-31 20:04:34 mchyzer Exp $
- Author:
- Gary Brown.
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
MapBundleWrapper
public MapBundleWrapper(ResourceBundle bundle1,
boolean theReturnNullsIfNotFound)
- Parameters:
bundle1
- to wraptheReturnNullsIfNotFound
- if dont do question marks if not found
get
public Object get(Object key)
- (non-Javadoc)
- Specified by:
get
in interface Map
- Overrides:
get
in class HashMap
- See Also:
Map.get(java.lang.Object)