public static enum MessageMapper.FetchType extends Enum<MessageMapper.FetchType>
Message
before returning itEnum Constant and Description |
---|
Body
|
Full
Fetch the complete
Message |
Headers
|
Metadata
Fetch only the meta data of the
Message which includes: |
Modifier and Type | Method and Description |
---|---|
static MessageMapper.FetchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageMapper.FetchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageMapper.FetchType Metadata
Message
which includes:
Message.getUid()
Message.getModSeq()
Message.getBodyOctets()
Message.getFullContentOctets()
Message.getInternalDate()
Message.getMailboxId()
Message.getMediaType()
Message.getModSeq()
Message.getSubType()
Message.getTextualLineCount()
public static final MessageMapper.FetchType Headers
public static final MessageMapper.FetchType Body
public static final MessageMapper.FetchType Full
Message
public static MessageMapper.FetchType[] values()
for (MessageMapper.FetchType c : MessageMapper.FetchType.values()) System.out.println(c);
public static MessageMapper.FetchType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.