public static class GmailFolder.FetchProfileItem extends FetchProfile.Item
FetchProfile.Item
class to add new FetchProfile item types, specific to Gmail.FetchProfile
Modifier and Type | Field and Description |
---|---|
static GmailFolder.FetchProfileItem |
LABELS
LABELS is a fetch profile item that can be included in a
FetchProfile during a fetch request to a Folder. |
static GmailFolder.FetchProfileItem |
MSGID
MSGID is a fetch profile item that can be included in a
FetchProfile during a fetch request to a Folder. |
static GmailFolder.FetchProfileItem |
THRID
THRID 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(String name) |
public static final GmailFolder.FetchProfileItem MSGID
FetchProfile
during a fetch request to a Folder.
This item indicates that the Gmail unique message ID 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(GmailFolder.FetchProfileItem.MSGID); folder.fetch(msgs, fp);
public static final GmailFolder.FetchProfileItem THRID
FetchProfile
during a fetch request to a Folder.
This item indicates that the Gmail unique thread ID 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(GmailFolder.FetchProfileItem.THRID); folder.fetch(msgs, fp);
public static final GmailFolder.FetchProfileItem LABELS
FetchProfile
during a fetch request to a Folder.
This item indicates that the Gmail labels 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(GmailFolder.FetchProfileItem.LABELS); folder.fetch(msgs, fp);
protected FetchProfileItem(String name)
Copyright © 2019 Eclipse Foundation. Use is subject to license terms.