UIDFolder.FetchProfileItem (Java EE 5)

Java EE API


javax.mail Class UIDFolder.FetchProfileItem

java.lang.Object
  extended by javax.mail.FetchProfile.Item
      extended by javax.mail.UIDFolder.FetchProfileItem
Enclosing interface:
UIDFolder

public static class UIDFolder.FetchProfileItem
extends FetchProfile.Item

Contained within: UIDFolder

用于获取 UID 的 fetch 配置文件项。此内部类扩展了 FetchProfile.Item 类,以添加特定于 UIDFolder 的新的 FetchProfile 项类型。此处目前定义的唯一项是 UID 项。
英文文档:

A fetch profile item for fetching UIDs. This inner class extends the FetchProfile.Item class to add new FetchProfile item types, specific to UIDFolders. The only item currently defined here is the UID item.

See Also:
FetchProfile

Field Summary
static UIDFolder.FetchProfileItem
 
Fields inherited from class javax.mail.FetchProfile.Item
 
Constructor Summary
protected
 
Method Summary
 
Methods inherited from class java.lang.Object
 

Field Detail

英文文档:

UID

public static final UIDFolder.FetchProfileItem UID
UID is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder. This item indicates that the UIDs for messages in the specified range are desired to be prefetched.

An example of how a client uses this is below:

        FetchProfile fp = new FetchProfile();
        fp.add(UIDFolder.FetchProfileItem.UID);
        folder.fetch(msgs, fp);

 

Constructor Detail

protected UIDFolder.FetchProfileItem(String name)
英文文档:

UIDFolder.FetchProfileItem

protected UIDFolder.FetchProfileItem(String name)


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!