public static enum Mailer.ContentType extends java.lang.Enum<Mailer.ContentType>
Enum Constant and Description |
---|
HTML_UTF8 |
PLAIN_UTF8 |
Modifier and Type | Method and Description |
---|---|
static Mailer.ContentType |
fromValue(java.lang.String sContentType) |
static Mailer.ContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mailer.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mailer.ContentType HTML_UTF8
public static final Mailer.ContentType PLAIN_UTF8
public static Mailer.ContentType[] values()
for (Mailer.ContentType c : Mailer.ContentType.values()) System.out.println(c);
public static Mailer.ContentType 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 nullpublic static Mailer.ContentType fromValue(java.lang.String sContentType)
sContentType
- Only UTF-8 supported! Encoding charset ignored!