public static enum Smtp.MultiPartType extends java.lang.Enum<Smtp.MultiPartType>
Enum Constant and Description |
---|
ALTERNATIVE |
MIXED |
RELATED |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
contentType |
Modifier and Type | Method and Description |
---|---|
static Smtp.MultiPartType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Smtp.MultiPartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Smtp.MultiPartType MIXED
public static final Smtp.MultiPartType ALTERNATIVE
public static final Smtp.MultiPartType RELATED
public static Smtp.MultiPartType[] values()
for (Smtp.MultiPartType c : Smtp.MultiPartType.values()) System.out.println(c);
public static Smtp.MultiPartType 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