java.lang.Object | +--javax.mail.Header
The Header class stores a name/value pair to represent headers.
Header(java.lang.String name, java.lang.String value) Construct a Header object. |
getName() Returns the name of this header. | |
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 |
publicHeader(java.lang.String name, java.lang.String value)
name
- name of the headervalue
- value of the headerpublic java.lang.StringgetName()
public java.lang.StringgetValue()