|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail Class Header
java.lang.Object javax.mail.Header
- Direct Known Subclasses:
- InternetHeaders.InternetHeader
public class Header
- extends Object
Extended by:
InternetHeaders.InternetHeader
Header 类存储表示头的名称/值对。
The Header class stores a name/value pair to represent headers.
- Author:
- John Mani
Field Summary | |
---|---|
protected String |
name
The name of the header. |
protected String |
value
The value of the header. |
Constructor Summary | |
---|---|
Header(String name,
String value)
Construct a Header object. |
Method Summary | |
---|---|
String |
getName()
Returns the name of this header. |
String |
getValue()
Returns the value of this header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
英文文档:
name
protected String name
- The name of the header.
- Since:
- JavaMail 1.4
英文文档:
value
protected String value
- The value of the header.
- Since:
- JavaMail 1.4
Constructor Detail |
---|
public
Header(String name, String value)
构造一个 Header 对象。
name | 头的名称 |
value | 头的值 |
Header
public Header(String name, String value)
- Construct a Header object.
- Parameters:
name
- name of the headervalue
- value of the header
Method Detail |
---|
public String
getName()
返回此头的名称。
return | 头的名称 |
getName
public String getName()
- Returns the name of this header.
- Returns:
- name of the header
public String
getValue()
返回此头的值。
return | 头的值 |
getValue
public String getValue()
- Returns the value of this header.
- 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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!