Package | Description |
---|---|
org.apache.commons.net.imap |
Basic IMAP and IMAPS support classes
|
Modifier and Type | Method | Description |
---|---|---|
static IMAPCommand |
IMAPCommand.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static IMAPCommand[] |
IMAPCommand.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
IMAP.doCommand(IMAPCommand command) |
Sends a command to the server and return whether successful.
|
boolean |
IMAP.doCommand(IMAPCommand command,
java.lang.String args) |
Sends a command and arguments to the server and return whether successful.
|
static java.lang.String |
IMAPCommand.getCommand(IMAPCommand command) |
Get the IMAP protocol string command corresponding to a command code.
|
int |
IMAP.sendCommand(IMAPCommand command) |
Sends a command with no arguments to the server and returns the
reply code.
|
int |
IMAP.sendCommand(IMAPCommand command,
java.lang.String args) |
Sends a command and arguments to the server and returns the reply code.
|