FileDocCategorySizeDatePackage
Header.javaAPI DocGlassfish v2 API2876Mon May 14 15:28:48 BST 2007javax.mail

Header

public class Header extends Object
The Header class stores a name/value pair to represent headers.
author
John Mani

Fields Summary
protected String
name
The name of the header.
protected String
value
The value of the header.
Constructors Summary
public Header(String name, String value)
Construct a Header object.

param
name name of the header
param
value value of the header

	this.name = name;
	this.value = value;
    
Methods Summary
public java.lang.StringgetName()
Returns the name of this header.

return
name of the header

	return name;
    
public java.lang.StringgetValue()
Returns the value of this header.

return
value of the header

	return value;