javax.mail

Class FetchProfile.Item

Enclosing Class:
FetchProfile

public static class FetchProfile.Item
extends java.lang.Object

Inner class that defines sets of headers that are commonly bundled together in a FetchProfile.

Field Summary

static FetchProfile.Item
CONTENT_INFO
Item for fetching information about the content of the message.
static FetchProfile.Item
ENVELOPE
Item for fetching information about the envelope of the message.
static FetchProfile.Item
FLAGS
Item for fetching information about message flags.

Constructor Summary

Item(String name)

Field Details

CONTENT_INFO

public static final FetchProfile.Item CONTENT_INFO
Item for fetching information about the content of the message. This includes all the headers about the content including but not limited to: Content-Type, Content-Disposition, Content-Description, Size and Line-Count

ENVELOPE

public static final FetchProfile.Item ENVELOPE
Item for fetching information about the envelope of the message. This includes all the headers comprising the envelope including but not limited to: From, To, Cc, Bcc, Reply-To, Subject and Date For IMAP4, this should also include the ENVELOPE data item.

FLAGS

public static final FetchProfile.Item FLAGS
Item for fetching information about message flags. Generall corresponds to the X-Flags header.

Constructor Details

Item

protected Item(String name)