javax.mail

Class Header

public class Header extends Object

A header is a name/value pair containing metadata about a message's content and/or routing information.

Version: 1.3

Author: Chris Burdess

Constructor Summary
Header(String name, String value)
Construct a header.
Method Summary
StringgetName()
Returns the name of this header.
StringgetValue()
Returns the value of this header.

Constructor Detail

Header

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

Parameters: name name of the header value value of the header

Method Detail

getName

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

getValue

public String getValue()
Returns the value of this header.
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved