|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IMAPCommand> org.apache.commons.net.imap.IMAPCommand
public enum IMAPCommand
IMAPCommand stores IMAP command codes.
Enum Constant Summary | |
---|---|
APPEND
|
|
AUTHENTICATE
|
|
CAPABILITY
|
|
CHECK
|
|
CLOSE
|
|
COPY
|
|
CREATE
|
|
DELETE
|
|
EXAMINE
|
|
EXPUNGE
|
|
FETCH
|
|
LIST
|
|
LOGIN
|
|
LOGOUT
|
|
LSUB
|
|
NOOP
|
|
RENAME
|
|
SEARCH
|
|
SELECT
|
|
STARTTLS
|
|
STATUS
|
|
STORE
|
|
SUBSCRIBE
|
|
UID
|
|
UNSUBSCRIBE
|
|
XOAUTH
|
Method Summary | |
---|---|
static String |
getCommand(IMAPCommand command)
Get the IMAP protocol string command corresponding to a command code. |
String |
getIMAPCommand()
Get the IMAP protocol string command for this command |
static IMAPCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IMAPCommand[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IMAPCommand CAPABILITY
public static final IMAPCommand NOOP
public static final IMAPCommand LOGOUT
public static final IMAPCommand STARTTLS
public static final IMAPCommand AUTHENTICATE
public static final IMAPCommand LOGIN
public static final IMAPCommand XOAUTH
public static final IMAPCommand SELECT
public static final IMAPCommand EXAMINE
public static final IMAPCommand CREATE
public static final IMAPCommand DELETE
public static final IMAPCommand RENAME
public static final IMAPCommand SUBSCRIBE
public static final IMAPCommand UNSUBSCRIBE
public static final IMAPCommand LIST
public static final IMAPCommand LSUB
public static final IMAPCommand STATUS
public static final IMAPCommand APPEND
public static final IMAPCommand CHECK
public static final IMAPCommand CLOSE
public static final IMAPCommand EXPUNGE
public static final IMAPCommand SEARCH
public static final IMAPCommand FETCH
public static final IMAPCommand STORE
public static final IMAPCommand COPY
public static final IMAPCommand UID
Method Detail |
---|
public static IMAPCommand[] values()
for (IMAPCommand c : IMAPCommand.values()) System.out.println(c);
public static IMAPCommand valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static final String getCommand(IMAPCommand command)
command
- the IMAPCommand whose command string is required.
public String getIMAPCommand()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |