|
Java EE 5 SDK | ||||||||
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
The Header class stores a name/value pair to represent headers.
Field Summary | |
---|---|
protected String |
name
The name of the header. |
protected String |
value
The value of the header. |
Constructor Summary | |
---|---|
Header(String name,
String value)
Construct a Header object. |
Method Summary | |
---|---|
String |
getName()
Returns the name of this header. |
String |
getValue()
Returns 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
- name of the headervalue
- value of the headerMethod Detail |
---|
public String getName()
public String getValue()
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.