javax.mail
Class Header

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

public class Header
extends Object

Class representing a header field.

Version:
$Rev: 125724 $ $Date: 2005-01-19 22:11:12 -0800 (Wed, 19 Jan 2005) $

Constructor Summary
Header(String name, String value)
          Constructor initializing all immutable fields.
 
Method Summary
 String getName()
          Return the name of this header.
 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(String name,
              String value)
Constructor initializing all immutable fields.

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

getName

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

Returns:
the name of this header

getValue

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

Returns:
the value of this header


Copyright © 2006 Apache Software Foundation. All Rights Reserved.