|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MailConfig.ServerSource>
com.openexchange.mail.api.MailConfig.ServerSource
public static enum MailConfig.ServerSource
| Enum Constant Summary | |
|---|---|
GLOBAL
Server is taken from appropriate property |
|
USER
Server is taken from user |
|
| Method Summary | |
|---|---|
static MailConfig.ServerSource |
parse(java.lang.String serverSourceStr)
Parses specified string into a server source. |
java.lang.String |
toString()
|
static MailConfig.ServerSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MailConfig.ServerSource[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MailConfig.ServerSource GLOBAL
public static final MailConfig.ServerSource USER
| Method Detail |
|---|
public static final MailConfig.ServerSource[] values()
for(MailConfig.ServerSource c : MailConfig.ServerSource.values())
System.out.println(c);
public static MailConfig.ServerSource 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 namepublic static final MailConfig.ServerSource parse(java.lang.String serverSourceStr)
serverSourceStr - The string to parse to a server source
null if string could not be parsed to a server sourcepublic java.lang.String toString()
toString in class java.lang.Enum<MailConfig.ServerSource>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||