|
|||||||||
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 java.lang.String |
name
The name of the header. |
protected java.lang.String |
value
The value of the header. |
Constructor Summary | |
---|---|
Header(java.lang.String name,
java.lang.String value)
Construct a Header object. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this header. |
java.lang.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 java.lang.String name
protected java.lang.String value
Constructor Detail |
---|
public Header(java.lang.String name, java.lang.String value)
name
- name of the headervalue
- value of the headerMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41