public enum TextMimeSubType extends Enum<TextMimeSubType>
JavaMailSessionBuilderFactory.INSTANCE| Modifier and Type | Field and Description |
|---|---|
String |
textMimeSubType
Ex:
"plain" or "html" |
| Modifier and Type | Method and Description |
|---|---|
static TextMimeSubType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextMimeSubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextMimeSubType PLAIN
public static final TextMimeSubType HTML
public final String textMimeSubType
"plain" or "html"public static TextMimeSubType[] values()
for (TextMimeSubType c : TextMimeSubType.values()) System.out.println(c);
public static TextMimeSubType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013–2020. All rights reserved.