org.apache.commons.net.nntp
Class NNTPCommand
java.lang.Object
org.apache.commons.net.nntp.NNTPCommand
public final class NNTPCommand
extends java.lang.Object
NNTPCommand stores a set of constants for NNTP command codes. To interpret
the meaning of the codes, familiarity with RFC 977 is assumed.
- Daniel F. Savarese
- Rory Winston
- Ted Wise
static String | getCommand(int command) -
Retrieve the NNTP protocol command string corresponding to a specified
command code.
|
ARTICLE
public static final int ARTICLE
AUTHINFO
public static final int AUTHINFO
BODY
public static final int BODY
GROUP
public static final int GROUP
HEAD
public static final int HEAD
HELP
public static final int HELP
IHAVE
public static final int IHAVE
LAST
public static final int LAST
LIST
public static final int LIST
NEWGROUPS
public static final int NEWGROUPS
NEWNEWS
public static final int NEWNEWS
NEXT
public static final int NEXT
POST
public static final int POST
QUIT
public static final int QUIT
SLAVE
public static final int SLAVE
STAT
public static final int STAT
XHDR
public static final int XHDR
XOVER
public static final int XOVER
getCommand
public static final String getCommand(int command)
Retrieve the NNTP protocol command string corresponding to a specified
command code.
command
- The command code.
- The NNTP protcol command string corresponding to a specified
command code.