protected static enum AbstractConfigParser.EmailType extends Enum<AbstractConfigParser.EmailType>
| Enum Constant and Description |
|---|
HTML
html 邮件
|
MUTIPART
附件邮件
|
SIMPLE
文本邮件
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.apache.commons.mail.Email> |
getInstClass() |
static AbstractConfigParser.EmailType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractConfigParser.EmailType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractConfigParser.EmailType MUTIPART
public static final AbstractConfigParser.EmailType HTML
public static final AbstractConfigParser.EmailType SIMPLE
public static AbstractConfigParser.EmailType[] values()
for (AbstractConfigParser.EmailType c : AbstractConfigParser.EmailType.values()) System.out.println(c);
public static AbstractConfigParser.EmailType 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 nullpublic Class<? extends org.apache.commons.mail.Email> getInstClass()
Copyright © 2018. All rights reserved.