public static enum ComposedMailPart.ComposedPartType extends java.lang.Enum<ComposedMailPart.ComposedPartType>
ComposedMailPart.ComposedPartType
- The different SMTP partsEnum Constant and Description |
---|
BODY
The mail body text
|
DATA
A data part
|
DOCUMENT
An infostore document
|
FILE
An uploaded file
|
REFERENCE
A referenced mail part
|
Modifier and Type | Method and Description |
---|---|
static ComposedMailPart.ComposedPartType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ComposedMailPart.ComposedPartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComposedMailPart.ComposedPartType BODY
public static final ComposedMailPart.ComposedPartType FILE
public static final ComposedMailPart.ComposedPartType DOCUMENT
public static final ComposedMailPart.ComposedPartType REFERENCE
public static final ComposedMailPart.ComposedPartType DATA
public static ComposedMailPart.ComposedPartType[] values()
for (ComposedMailPart.ComposedPartType c : ComposedMailPart.ComposedPartType.values()) System.out.println(c);
public static ComposedMailPart.ComposedPartType 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