java.lang.Object | +--javax.mail.FetchProfile.Item | +--javax.mail.UIDFolder.FetchProfileItem
A fetch profile item for fetching UIDs. This inner class extends theFetchProfile.Item
class to add new FetchProfile item types, specific to UIDFolders. The only item currently defined here is theUID
item.
FetchProfile
UID UID is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder. |
Fields inherited from class javax.mail.FetchProfile.Item |
CONTENT_INFO,ENVELOPE,FLAGS |
UIDFolder.FetchProfileItem(java.lang.String name) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
public static finalUIDFolder.FetchProfileItemUID
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);
protectedUIDFolder.FetchProfileItem(java.lang.String name)