public static class UIDFolder.FetchProfileItem extends FetchProfile.Item
FetchProfile.Item
class to add new FetchProfile item types, specific to UIDFolders.
The only item currently defined here is the UID
item.FetchProfile
Modifier and Type | Field and Description |
---|---|
static UIDFolder.FetchProfileItem |
UID
UID is a fetch profile item that can be included in a
FetchProfile during a fetch request to a Folder. |
CONTENT_INFO, ENVELOPE, FLAGS, SIZE
Modifier | Constructor and Description |
---|---|
protected |
FetchProfileItem(java.lang.String name) |
toString
public static final UIDFolder.FetchProfileItem UID
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);