- java.lang.Object
-
- javax.mail.Header
-
- Direct Known Subclasses:
InternetHeaders.InternetHeader
public class Header extends java.lang.Object
The Header class stores a name/value pair to represent headers.- Author:
- John Mani
-
-
Constructor Summary
Constructors Constructor Description Header(java.lang.String name, java.lang.String value)
Construct a Header object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of this header.java.lang.String
getValue()
Returns the value of this header.
-