This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.mail
class Header

javax.mail.Header
Direct Known Subclasses:
InternetHeaders.InternetHeader

Most common way to construct:

Enumeration e = …;

Header header = (Header)e.nextElement();

Based on 9 examples


public class Header
extends Object

The Header class stores a name/value pair to represent headers.

See Also (auto-generated):

Session

Properties

Transport


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

          Returns the name of this header.
 String

          Returns the value of this header.
 

Field Detail

name

protected String name
The name of the header.

value

protected String value
The value of the header.
Constructor Detail

Header

public Header(String name,
              String value)
Construct a Header object.

Parameters:
name - name of the header
value - value of the header
Method Detail

getName

public String getName()
Returns the name of this header.

Returns:
name of the header

getValue

public String getValue()
Returns the value of this header.

Returns:
value of the header


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.