Class NameValuePairs

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.String>

    public class NameValuePairs
    extends java.util.LinkedHashMap<java.lang.String,​java.lang.String>
    A class represents an ordered list of name value pairs.
    Version:
    $Revision$, $Date$
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      NameValuePairs()
      Constructs name value pairs.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean parseInto​(java.lang.String s, NameValuePairs nvp)
      Parses a string into name value pairs.
      java.lang.String 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 Detail

      • NameValuePairs

        public NameValuePairs()
        Constructs name value pairs.
    • Method Detail

      • toString

        public java.lang.String toString()
        Show the content of this name value container as string representation.
        Overrides:
        toString in class java.util.AbstractMap<java.lang.String,​java.lang.String>
        Returns:
        string representation
      • parseInto

        public static boolean parseInto​(java.lang.String s,
                                        NameValuePairs nvp)
        Parses a string into name value pairs.
        Parameters:
        s - string
        nvp - name value pairs
        Returns:
        true if successful