|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail Class FetchProfile.Item
java.lang.Object javax.mail.FetchProfile.Item
- Direct Known Subclasses:
- UIDFolder.FetchProfileItem
- Enclosing class:
- FetchProfile
public static class FetchProfile.Item
- extends Object
此内部类是可在 FetchProfile 中请求的所有项的基类。此处目前定义的项是
ENVELOPE
、CONTENT_INFO
和 FLAGS
。UIDFolder
接口还定义了 UID
Item。 注意,此类只有一个受保护的构造方法,因此新的 Item 类型被限制为此类或其子类。这有效地实现了所允许 Item 类型的枚举。
See also | javax.mail.UIDFolder |
This inner class is the base class of all items that
can be requested in a FetchProfile. The items currently
defined here are ENVELOPE
, CONTENT_INFO
and FLAGS
. The UIDFolder
interface
defines the UID
Item as well.
Note that this class only has a protected constructor, therby restricting new Item types to either this class or subclasses. This effectively implements a enumeration of allowed Item types.
- See Also:
UIDFolder
Field Summary | |
---|---|
static FetchProfile.Item |
CONTENT_INFO
This item is for fetching information about the content of the message. |
static FetchProfile.Item |
ENVELOPE
This is the Envelope item. |
static FetchProfile.Item |
FLAGS
This is the Flags item. |
Constructor Summary | |
---|---|
protected |
FetchProfile.Item(String name)
Constructor for an item. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
英文文档:
ENVELOPE
public static final FetchProfile.Item ENVELOPE
- This is the Envelope item.
The Envelope is an aggregration of the common attributes of a Message. Implementations should include the following attributes: From, To, Cc, Bcc, ReplyTo, Subject and Date. More items may be included as well.
For implementations of the IMAP4 protocol (RFC 2060), the Envelope should include the ENVELOPE data item. More items may be included too.
英文文档:
CONTENT_INFO
public static final FetchProfile.Item CONTENT_INFO
- This item is for fetching information about the
content of the message.
This includes all the attributes that describe the content of the message. Implementations should include the following attributes: ContentType, ContentDisposition, ContentDescription, Size and LineCount. Other items may be included as well.
英文文档:
FLAGS
public static final FetchProfile.Item FLAGS
- This is the Flags item.
Constructor Detail |
---|
protected
FetchProfile.Item(String name)
项的构造方法。该名称仅用于调试。
英文文档:
FetchProfile.Item
protected FetchProfile.Item(String name)
- Constructor for an item. The name is used only for debugging.
|
|||||||||
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!