Header (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.mail Class Header

java.lang.Object
  extended by javax.mail.Header
直接已知子类:
InternetHeaders.InternetHeader

public class Header
extends Object

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

作者:
John Mani

字段摘要
protected  String name
          The name of the header.
protected  String value
          The value of the header.
 
构造器摘要
Header(String name, String value)
          Construct a Header object.
 
方法摘要
 String getName()
          Returns the name of this header.
 String getValue()
          Returns the value of this header.
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

name

protected String name
The name of the header.

从以下版本开始:
JavaMail 1.4


value

protected String value
The value of the header.

从以下版本开始:
JavaMail 1.4

构造器详细信息

Header

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

参数:
name - name of the header
value - value of the header

方法详细信息

getName

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

返回:
name of the header

getValue

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

返回:
value of the header

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.