public enum RecursionMode extends java.lang.Enum<RecursionMode>
Enum Constant and Description |
---|
M_FLAT
Do not recurse
message/rfc822 parts
and treat multiparts as a single flat body. |
M_NO_RECURSE
Do not recurse
message/rfc822 parts |
M_RAW
Parse into raw entities
|
M_RECURSE
Recursively parse every
message/rfc822 part |
Modifier and Type | Method and Description |
---|---|
static RecursionMode |
valueOf(java.lang.String name)
Returns 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.
|
public static final RecursionMode M_RECURSE
message/rfc822
partpublic static final RecursionMode M_NO_RECURSE
message/rfc822
partspublic static final RecursionMode M_RAW
public static final RecursionMode M_FLAT
message/rfc822
parts
and treat multiparts as a single flat body.public static RecursionMode[] values()
for (RecursionMode c : RecursionMode.values()) System.out.println(c);
public static RecursionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null