Package | Description |
---|---|
org.apache.commons.net.imap |
Basic IMAP and IMAPS support classes
|
Modifier and Type | Method and Description |
---|---|
static IMAPCommand |
IMAPCommand.valueOf(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 and Description |
---|---|
boolean |
IMAP.doCommand(IMAPCommand command)
Sends a command to the server and return whether successful.
|
boolean |
IMAP.doCommand(IMAPCommand command,
String args)
Sends a command and arguments to the server and return whether successful.
|
static 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,
String args)
Sends a command and arguments to the server and returns the reply code.
|
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.