Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.mail
Class Header

    java.lang.Object
      javax.mail.Header

public class Header
extends java.lang.Object

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

Author:
  John Mani

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`

Constructor Detail

### Header

    public Header(java.lang.String name,
                  java.lang.String value)

  Construct a Header object.

Parameters:
  `name` - name of the header
  `value` - value of the header

Method Detail

### getName

    public java.lang.String getName()

  Returns the name of this header.

  Returns:
    name of the header

### getValue

    public java.lang.String getValue()

  Returns the value of this header.

  Returns:
    value of the header

Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.