public static interface MessageResult.FetchGroup
Modifier and Type | Interface and Description |
---|---|
static interface |
MessageResult.FetchGroup.PartContentDescriptor
Describes the contents to be fetched for a mail part.
|
Modifier and Type | Field and Description |
---|---|
static int |
BODY_CONTENT |
static int |
FULL_CONTENT |
static int |
HEADERS |
static int |
MIME_CONTENT |
static int |
MIME_DESCRIPTOR |
static int |
MIME_HEADERS |
static int |
MINIMAL
For example: could have best performance when doing store and then
forget.
|
Modifier and Type | Method and Description |
---|---|
int |
content()
Contents to be fetched.
|
Set<MessageResult.FetchGroup.PartContentDescriptor> |
getPartContentDescriptors()
Gets contents to be fetched for contained parts.
|
static final int MINIMAL
static final int MIME_DESCRIPTOR
static final int HEADERS
static final int FULL_CONTENT
static final int BODY_CONTENT
static final int MIME_HEADERS
static final int MIME_CONTENT
int content()
MINIMAL
,
MIME_DESCRIPTOR
,
HEADERS
,
FULL_CONTENT
,
BODY_CONTENT
,
MIME_HEADERS
,
MIME_CONTENT
Set<MessageResult.FetchGroup.PartContentDescriptor> getPartContentDescriptors()
Set
of MessageResult.FetchGroup.PartContentDescriptor
, or null if
there is no part content to be fetchedCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.