Class HTTPClient.NVPair
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class HTTPClient.NVPair
java.lang.Object
   |
   +----HTTPClient.NVPair
  -  public class NVPair
  -  extends Object
This class holds a Name/Value pair of strings. It's used for form-data
and various internal things.
  -  Version:
  
-  0.2 (bug fix 2)  23/03/1997
  
-  Author:
  
-  Ronald Tschalär
   
  -   NVPair(NVPair) NVPair(NVPair)
-  Creates a copy of a given name/value pair.
  
-   NVPair(String, String) NVPair(String, String)
-  Creates a new name/value pair and initializes it to the
specified name and value.
   
  -   getName() getName()
-  get the name
  
-   getValue() getValue()
-  get the value
  
-   toString() toString()
-  produces a string containing the name and value of this instance.
   
 NVPair
NVPair
  public NVPair(NVPair p)
  -  Creates a copy of a given name/value pair.
  
    -  Parameters:
    
-  p - the name/value pair to copy
  
 
 NVPair
NVPair
  public NVPair(String name,
                String value)
  -  Creates a new name/value pair and initializes it to the
specified name and value.
  
    -  Parameters:
    
-  name - the name
    -  value - the value
  
 
   
 getName
getName
  public final String getName()
  -  get the name
  
    -  Returns:
    
-  the name
  
 
 getValue
getValue
  public final String getValue()
  -  get the value
  
    -  Returns:
    
-  the value
  
 
 toString
toString
  public String toString()
  -  produces a string containing the name and value of this instance.
  
    -  Returns:
    
-  a string containing the class name and the name and value
    
-  Overrides:
    
-  toString in class Object
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index