javax.mail

Class Header

public class Header extends Object

Class representing a header field.
Constructor Summary
Header(String name, String value)
Constructor initializing all immutable fields.
Method Summary
StringgetName()
Return the name of this header.
StringgetValue()
Return the value of this header.

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