javax.mail
Class Header

java.lang.Object
  extended by javax.mail.Header

public class Header
extends java.lang.Object

Class representing a header field.

Version:
$Rev: 467553 $ $Date: 2006-10-25 06:01:51 +0200 (Wed, 25 Oct 2006) $

Constructor Summary
Header(java.lang.String name, java.lang.String value)
          Constructor initializing all immutable fields.
 
Method Summary
 java.lang.String getName()
          Return the name of this header.
 java.lang.String getValue()
          Return the value of this header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Header

public Header(java.lang.String name,
              java.lang.String value)
Constructor initializing all immutable fields.

Parameters:
name - the name of this header
value - the value of this header
Method Detail

getName

public java.lang.String getName()
Return the name of this header.

Returns:
the name of this header

getValue

public java.lang.String getValue()
Return the value of this header.

Returns:
the value of this header


Copyright © 2011. All Rights Reserved.