org.sourceforge.ifx.tools
Class NameValuePair

java.lang.Object
  extended byorg.sourceforge.ifx.tools.NameValuePair

public class NameValuePair
extends java.lang.Object

Models a name-value pair entry in a Java properties file.

Version:
$Revision: 1.1 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
NameValuePair(java.lang.String name, java.lang.String value)
          Build a name value pair object with the name and value.
 
Method Summary
 java.lang.String getName()
          Return the name part of the name-value pair.
 java.lang.String getValue()
          Return the value part of the name-value pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValuePair

public NameValuePair(java.lang.String name,
                     java.lang.String value)
Build a name value pair object with the name and value.

Parameters:
name - the name part of the name-value pair.
value - the value part of the name-value pair.
Method Detail

getName

public java.lang.String getName()
Return the name part of the name-value pair.

Returns:
the name part.

getValue

public java.lang.String getValue()
Return the value part of the name-value pair.

Returns:
the value part.