java.lang.Object
jakarta.mail.FetchProfile.Item
org.eclipse.angus.mail.imap.IMAPFolder.FetchProfileItem
- Enclosing class:
- IMAPFolder
A fetch profile item for fetching headers.
This inner class extends the
FetchProfile.Item
class to add new FetchProfile item types, specific to IMAPFolders.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IMAPFolder.FetchProfileItem
HEADERS is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder.static final IMAPFolder.FetchProfileItem
INTERNALDATE is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder.static final IMAPFolder.FetchProfileItem
MESSAGE is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder.static final IMAPFolder.FetchProfileItem
Deprecated.Fields inherited from class jakarta.mail.FetchProfile.Item
CONTENT_INFO, ENVELOPE, FLAGS
-
Constructor Summary
-
Method Summary
Methods inherited from class jakarta.mail.FetchProfile.Item
toString
-
Field Details
-
HEADERS
HEADERS is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder. This item indicates that the headers 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(IMAPFolder.FetchProfileItem.HEADERS); folder.fetch(msgs, fp);
-
SIZE
Deprecated.SIZE is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder. This item indicates that the sizes of the messages in the specified range are desired to be prefetched.SIZE was moved to FetchProfile.Item in JavaMail 1.5.
-
MESSAGE
MESSAGE is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder. This item indicates that the entire messages (headers and body, including all "attachments") in the specified range are desired to be prefetched. Note that the entire message content is cached in memory while the Folder is open. The cached message will be parsed locally to return header information and message content.An example of how a client uses this is below:
FetchProfile fp = new FetchProfile(); fp.add(IMAPFolder.FetchProfileItem.MESSAGE); folder.fetch(msgs, fp);
- Since:
- JavaMail 1.5.2
-
INTERNALDATE
INTERNALDATE is a fetch profile item that can be included in aFetchProfile
during a fetch request to a Folder. This item indicates that the IMAP INTERNALDATE values (received date) of the 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(IMAPFolder.FetchProfileItem.INTERNALDATE); folder.fetch(msgs, fp);
- Since:
- JavaMail 1.5.5
-
-
Constructor Details
-
FetchProfileItem
-