Package javax.mail.internet
Class InternetHeaders.InternetHeader
java.lang.Object
javax.mail.Header
javax.mail.internet.InternetHeaders.InternetHeader
- Enclosing class:
- InternetHeaders
An individual internet header. This class is only used by
subclasses of InternetHeaders.
An InternetHeader object with a null value is used as a placeholder for headers of that name, to preserve the order of headers. A placeholder InternetHeader object with a name of ":" marks the location in the list of headers where new headers are added by default.
- Since:
- JavaMail 1.4
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructor that takes a line and splits out the header name.InternetHeader
(String n, String v) Constructor that takes a header name and value. -
Method Summary
-
Constructor Details
-
InternetHeader
Constructor that takes a line and splits out the header name.- Parameters:
l
- the header line
-
InternetHeader
Constructor that takes a header name and value.- Parameters:
n
- the name of the headerv
- the value of the header
-
-
Method Details