Package com.netscape.certsrv.common
Class NameValuePairs
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
String>
A class represents an ordered list of name
value pairs.
- Version:
- $Revision$, $Date$
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
parseInto
(String s, NameValuePairs nvp) Parses a string into name value pairs.toString()
Show the content of this name value container as string representation.Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
Methods inherited from class java.util.AbstractMap
equals, hashCode
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Constructor Details
-
NameValuePairs
public NameValuePairs()Constructs name value pairs.
-
-
Method Details
-
toString
Show the content of this name value container as string representation.- Overrides:
toString
in classAbstractMap<String,
String> - Returns:
- string representation
-
parseInto
Parses a string into name value pairs.- Parameters:
s
- stringnvp
- name value pairs- Returns:
- true if successful
-