public enum MailProperty extends java.lang.Enum<MailProperty>
Enum Constant and Description |
---|
from |
host |
htmlText |
password |
plainText |
port |
subject |
to |
username |
Modifier and Type | Method and Description |
---|---|
static MailProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MailProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailProperty host
public static final MailProperty port
public static final MailProperty from
public static final MailProperty to
public static final MailProperty subject
public static final MailProperty plainText
public static final MailProperty htmlText
public static final MailProperty username
public static final MailProperty password
public static MailProperty[] values()
for (MailProperty c : MailProperty.values()) System.out.println(c);
public static MailProperty 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 nullCopyright © 2007–2020. All rights reserved.