InternetHeaders.InternetHeader (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.mail.internet Class InternetHeaders.InternetHeader

java.lang.Object
  extended by javax.mail.Header
      extended by javax.mail.internet.InternetHeaders.InternetHeader
封闭类:
InternetHeaders

protected static final class InternetHeaders.InternetHeader
extends Header

An individual internet header. This class is only used by subclasses of InternetHeaders.

An InternetHeader object with a null value is used as a placeholder for headers of that name, to preserve the order of headers. A placeholder InternetHeader object with a name of ":" marks the location in the list of headers where new headers are added by default.

从以下版本开始:
JavaMail 1.4

字段摘要
 
Fields inherited from class javax.mail.Header
name, value
 
构造器摘要
InternetHeaders.InternetHeader(String l)
          Constructor that takes a line and splits out the header name.
InternetHeaders.InternetHeader(String n, String v)
          Constructor that takes a header name and value.
 
方法摘要
 String getValue()
          Return the "value" part of the header line.
 
类方法继承 javax.mail.Header
getName
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

InternetHeaders.InternetHeader

public InternetHeaders.InternetHeader(String l)
Constructor that takes a line and splits out the header name.


InternetHeaders.InternetHeader

public InternetHeaders.InternetHeader(String n,
                                      String v)
Constructor that takes a header name and value.

方法详细信息

getValue

public String getValue()
Return the "value" part of the header line.

重写:
getValue in class Header
返回:
value of the header

Java EE 5 SDK

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


提交错误或意见

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