javax.mail
Class Header
public class Header
extends java.lang.Object
The Header class stores a name/value pair to represent headers.
protected String | name - The name.
|
protected String | value - The value.
|
Header(String name, String value) - Construct a Header object.
|
String | getName() - Returns the name of this header.
|
String | getValue() - Returns the value of this header.
|
name
protected String name
The name.
value
protected String value
The value.
Header
public Header(String name,
String value)
Construct a Header object.
name
- name of the headervalue
- value of the header
getName
public String getName()
Returns the name of this header.
getValue
public String getValue()
Returns the value of this header.