javax.mail
Class Header
java.lang.Object
|
+--javax.mail.Header
- public class Header
- extends Object
The Header class stores a name/value pair to represent headers.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Header
public Header(String name,
String value)
- Construct a Header object.
- Parameters:
name
- name of the headervalue
- value of the header
getName
public String getName()
- Returns the name of this header.
- Returns:
- name of the header
getValue
public String getValue()
- Returns the value of this header.
- Returns:
- value of the header