gnu.inet.smtp
Class Parameter

java.lang.Object
  extended by gnu.inet.smtp.Parameter

public final class Parameter
extends java.lang.Object

An ESMTP parameter.

Author:
Chris Burdess

Constructor Summary
Parameter(java.lang.String key, java.lang.String value)
          Creates a new parameter with the specified key and value.
 
Method Summary
 java.lang.String getKey()
          Returns the key.
 java.lang.String getValue()
          Returns the value.
 java.lang.String toString()
          String form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(java.lang.String key,
                 java.lang.String value)
Creates a new parameter with the specified key and value.

Parameters:
key - the key
value - the value
Method Detail

getKey

public java.lang.String getKey()
Returns the key.


getValue

public java.lang.String getValue()
Returns the value.


toString

public java.lang.String toString()
String form.

Overrides:
toString in class java.lang.Object


© Copyright 2003 The Free Software Foundation, all rights reserved