Package jakarta.mail
Class UIDFolder.FetchProfileItem
java.lang.Object
jakarta.mail.FetchProfile.Item
jakarta.mail.UIDFolder.FetchProfileItem
- Enclosing interface:
- UIDFolder
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:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final UIDFolder.FetchProfileItem
UID is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder.Fields inherited from class jakarta.mail.FetchProfile.Item
CONTENT_INFO, ENVELOPE, FLAGS, SIZE
-
Constructor Summary
-
Method Summary
Methods inherited from class jakarta.mail.FetchProfile.Item
toString
-
Field Details
-
UID
UID is a fetch profile item that can be included in aFetchProfile
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 Details
-
FetchProfileItem
-