public enum GlobalMailAccount extends Enum<GlobalMailAccount>
MailAccount.MAIL_SETTING_PATHS
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
MailAccount |
getAccount()
获得邮件帐户
|
static GlobalMailAccount |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobalMailAccount[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlobalMailAccount INSTANCE
public static GlobalMailAccount[] values()
for (GlobalMailAccount c : GlobalMailAccount.values()) System.out.println(c);
public static GlobalMailAccount 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 MailAccount getAccount()
Copyright © 2024. All rights reserved.