⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
javax.mail

Class Header

java.lang.Object
|
+--javax.mail.Header


public class Header
extends java.lang.Object

The Header class stores a name/value pair to represent headers.
Author:

Field Summary

String

name

The name.

String

value

The value.

Constructor Summary

Header(String name, String value)

Construct a Header object.

Method Summary

String

getName()

Returns the name of this header.

String

getValue()

Returns the value of this header.

Field Details

name

protected String name

The name.


value

protected String value

The value.

Constructor Details

Header

public Header(String name, String value)

Construct a Header object.

Parameters:
name - name of the header
value - value of the header

Method Details

getName

public String getName()

Returns the name of this header.


getValue

public String getValue()

Returns the value of this header.