javax.mail
public class: Header [javadoc |
source]
java.lang.Object
javax.mail.Header
Direct Known Subclasses:
InternetHeader
Class representing a header field.
- version:
$ - Rev: 125724 $ $Date: 2005-01-19 22:11:12 -0800 (Wed, 19 Jan 2005) $
| Constructor: |
public Header(String name,
String value) {
this.name = name;
this.value = value;
}
Constructor initializing all immutable fields. Parameters:
name - the name of this header
value - the value of this header
|
| Method from javax.mail.Header Detail: |
public String getName() {
return name;
}
Return the name of this header. |
public String getValue() {
return value;
}
Return the value of this header. |