public final class NNTPCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ARTICLE
NNTP command code 0.
|
static int |
AUTHINFO
NNTP command code 15.
|
static int |
BODY
NNTP command code 1.
|
static int |
GROUP
NNTP command code 2.
|
static int |
HEAD
NNTP command code 3.
|
static int |
HELP
NNTP command code 4.
|
static int |
IHAVE
NNTP command code 5.
|
static int |
LAST
NNTP command code 6.
|
static int |
LIST
NNTP command code 7.
|
static int |
NEWGROUPS
NNTP command code 8.
|
static int |
NEWNEWS
NNTP command code 9.
|
static int |
NEXT
NNTP command code 10.
|
static int |
POST
NNTP command code 11.
|
static int |
QUIT
NNTP command code 12.
|
static int |
SLAVE
NNTP command code 13.
|
static int |
STAT
NNTP command code 14.
|
static int |
XHDR
NNTP command code 17.
|
static int |
XOVER
NNTP command code 16.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getCommand(int command)
Gets the NNTP protocol command string corresponding to a specified command code.
|
public static final int ARTICLE
public static final int AUTHINFO
public static final int BODY
public static final int GROUP
public static final int HEAD
public static final int HELP
public static final int IHAVE
public static final int LAST
public static final int LIST
public static final int NEWGROUPS
public static final int NEWNEWS
public static final int NEXT
public static final int POST
public static final int QUIT
public static final int SLAVE
public static final int STAT
public static final int XHDR
public static final int XOVER
public static String getCommand(int command)
command - The command code.