Class NameValuePairs
- All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>, SequencedMap<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 AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanparseInto(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 LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, newLinkedHashMap, putFirst, putLast, removeEldestEntry, replaceAll, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues, valuesMethods inherited from class HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class AbstractMap
equals, hashCodeMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from interface SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry
-
Constructor Details
-
NameValuePairs
public NameValuePairs()Constructs name value pairs.
-
-
Method Details
-
toString
Show the content of this name value container as string representation.- Overrides:
toStringin classAbstractMap<String,String> - Returns:
- string representation
-
parseInto
Parses a string into name value pairs.- Parameters:
s- stringnvp- name value pairs- Returns:
- true if successful
-