Package org.apache.commons.net.imap
Enum IMAPClient.FETCH_ITEM_NAMES
- All Implemented Interfaces:
Serializable
,Comparable<IMAPClient.FETCH_ITEM_NAMES>
- Enclosing class:
IMAPClient
The message data item names for the FETCH command defined in RFC 3501.
-
Enum Constant Summary
Enum ConstantDescriptionMacro equivalent to: (FLAGS INTERNALDATE RFC822.SIZE ENVELOPE).Non-extensible form of BODYSTRUCTURE or the text of a particular body section.The [MIME-IMB] body structure of the message.The envelope structure of the message.Macro equivalent to: (FLAGS INTERNALDATE RFC822.SIZE).The flags that are set for this message.Macro equivalent to: (FLAGS INTERNALDATE RFC822.SIZE ENVELOPE BODY).The internal date of the message.A prefix for RFC-822 item names.The unique identifier for the message. -
Method Summary
Modifier and TypeMethodDescriptionstatic IMAPClient.FETCH_ITEM_NAMES
Returns the enum constant of this type with the specified name.static IMAPClient.FETCH_ITEM_NAMES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL
Macro equivalent to: (FLAGS INTERNALDATE RFC822.SIZE ENVELOPE). -
FAST
Macro equivalent to: (FLAGS INTERNALDATE RFC822.SIZE). -
FULL
Macro equivalent to: (FLAGS INTERNALDATE RFC822.SIZE ENVELOPE BODY). -
BODY
Non-extensible form of BODYSTRUCTURE or the text of a particular body section. -
BODYSTRUCTURE
The [MIME-IMB] body structure of the message. -
ENVELOPE
The envelope structure of the message. -
FLAGS
The flags that are set for this message. -
INTERNALDATE
The internal date of the message. -
RFC822
A prefix for RFC-822 item names. -
UID
The unique identifier for the message.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-