|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ImapSession.State>
com.hs.mail.imap.ImapSession.State
public static enum ImapSession.State
Enumerates RFC3501 session states.
Enum Constant Summary | |
---|---|
AUTHENTICATED
RFC3501 3.2 Authenticated State |
|
LOGOUT
RFC3501 3.4 Logout State |
|
NON_AUTHENTICATED
RFC3501 3.1 Not Authenticated State |
|
SELECTED
RFC3501 3.3 Selected State |
Method Summary | |
---|---|
String |
toString()
|
static ImapSession.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ImapSession.State[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ImapSession.State NON_AUTHENTICATED
3.1 Not Authenticated State
public static final ImapSession.State AUTHENTICATED
3.2 Authenticated State
public static final ImapSession.State SELECTED
3.3 Selected State
public static final ImapSession.State LOGOUT
3.4 Logout State
Method Detail |
---|
public static final ImapSession.State[] values()
for(ImapSession.State c : ImapSession.State.values()) System.out.println(c);
public static ImapSession.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String toString()
toString
in class Enum<ImapSession.State>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |