IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 5.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM Platform, Enterprise Edition, v 5.0

javax.mail
Class Header

java.lang.Object
  extended by javax.mail.Header
Direct Known Subclasses:
InternetHeaders.InternetHeader

public class Header
extends Object

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

Author:
John Mani

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

name

protected String name
The name of the header.

Since:
JavaMail 1.4

value

protected String value
The value of the header.

Since:
JavaMail 1.4
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

Copyright 2003 Sun Microsystems, Inc. All rights reserved