javax.mail

Class Header


public class Header
extends java.lang.Object

Class representing a header field.

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.

Constructor Details

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 Details

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