|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.Header
public class Header
Class representing a header field.
Field Summary | |
---|---|
protected String |
name
The name of the header. |
protected String |
value
The header value (can be null). |
Constructor Summary | |
---|---|
Header(String name,
String value)
Constructor initializing all immutable fields. |
Method Summary | |
---|---|
String |
getName()
Return the name of this header. |
String |
getValue()
Return the value of this header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String name
protected String value
Constructor Detail |
---|
public Header(String name, String value)
name
- the name of this headervalue
- the value of this headerMethod Detail |
---|
public String getName()
public String getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |