org.globus.mds.webmds
Class ParameterMap
java.lang.Object
java.util.AbstractMap
java.util.HashMap
org.globus.mds.webmds.ParameterMap
- All Implemented Interfaces:
- Cloneable, Map, Serializable
- public class ParameterMap
- extends HashMap
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values |
ParameterMap
public ParameterMap()
put
public Object put(Object key,
Object value)
putParameter
public Object putParameter(Parameter param)
throws ParameterMapException
- Throws:
ParameterMapException
prefixedSubMap
public ParameterMap prefixedSubMap(String prefix)
throws ParameterMapException
- prefixedSubMap -- takes a parameter set, finds the subset
whose names start with "prefix.", and returns a set that contains
those parameters, with the "prefix." stripped off their names. For
example, if a parameter map contained these parameters:
{"abc", {"abc", "def"}},
{"foo.x", {"foo.x", "x1"}},
{"foo.y", {"foo.y", "y1"}},
{"foosball", {"foosball", "hello"}}
prefixedSubMap("foo") would return a map containing {"x", {"x", "x1"}}
and {"y", {"y", "y1"}}.
- Parameters:
prefix - the prefix to search for.
- Throws:
ParameterMapException
debugKeyString
public String debugKeyString()
throws ParameterMapException
- Throws:
ParameterMapException
Copyright © 1999-2006 University of Chicago. All rights reserved.