FileDocCategorySizeDatePackage
POP3Command.javaAPI DocApache Commons NET 1.4.1 API2303Sat Dec 03 10:05:50 GMT 2005org.apache.commons.net.pop3

POP3Command

public final class POP3Command extends Object
POP3Command stores POP3 command code constants.

author
Daniel F. Savarese

Fields Summary
public static final int
USER
Send user name.
public static final int
PASS
Send password.
public static final int
QUIT
Quit session.
public static final int
STAT
Get status.
public static final int
LIST
List message(s).
public static final int
RETR
Retrieve message(s).
public static final int
DELE
Delete message(s).
public static final int
NOOP
No operation. Used as a session keepalive.
public static final int
RSET
Reset session.
public static final int
APOP
Authorization.
public static final int
TOP
Retrieve top number lines from message.
public static final int
UIDL
List unique message identifier(s).
static final String[]
_commands
Constructors Summary
private POP3Command()


    // Cannot be instantiated.
     
    
Methods Summary
public static final java.lang.StringgetCommand(int command)
Get the POP3 protocol string command corresponding to a command code.

return
The POP3 protocol string command corresponding to a command code.

        return _commands[command];