Enum RecursionMode
- All Implemented Interfaces:
Serializable, Comparable<RecursionMode>
Enumeration of parsing modes.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDo not recursemessage/rfc822parts and treat multiparts as a single flat body.Do not recursemessage/rfc822partsParse into raw entitiesRecursively parse everymessage/rfc822part -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RecursionModeReturns the enum constant of this type with the specified name.static RecursionMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
M_RECURSE
Recursively parse everymessage/rfc822part -
M_NO_RECURSE
Do not recursemessage/rfc822parts -
M_RAW
Parse into raw entities -
M_FLAT
Do not recursemessage/rfc822parts and treat multiparts as a single flat body.
-
-
Constructor Details
-
RecursionMode
private RecursionMode()
-
-
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
-