|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail.internet Class InternetHeaders.InternetHeader
java.lang.Object javax.mail.Header javax.mail.internet.InternetHeaders.InternetHeader
- Enclosing class:
- InternetHeaders
protected static final class InternetHeaders.InternetHeader
- extends Header
Extends:
Header
Contained within:
InternetHeaders
一个单独的 Internet 头。此类仅供 InternetHeaders 的子类使用。
带有 null 值的 InternetHeader 对象被用作具有该名称的头的占位符,以保留头的顺序。占位符 InternetHeader 对象带有名称 ":" 标记默认情况下在头列表中添加新头的位置。
since |
|
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.
- Since:
- JavaMail 1.4
Field Summary |
---|
Fields inherited from class javax.mail.Header |
---|
name, value |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
String |
getValue()
Return the "value" part of the header line. |
Methods inherited from class javax.mail.Header |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public
InternetHeaders.InternetHeader(String l)
带有一行并拆分头名称的构造方法。
英文文档:
InternetHeaders.InternetHeader
public InternetHeaders.InternetHeader(String l)
- Constructor that takes a line and splits out
the header name.
public
InternetHeaders.InternetHeader(String n, String v)
带有头名称和值的构造方法。
英文文档:
InternetHeaders.InternetHeader
public InternetHeaders.InternetHeader(String n, String v)
- Constructor that takes a header name and value.
Method Detail |
---|
public String
getValue()
返回头行的 "value" 部分。
英文文档:
getValue
public String getValue()
- Return the "value" part of the header line.
- Returns:
- value of the header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!