org.apache.commons.net.nntp
public final class NNTPCommand extends Object
| Field Summary | |
|---|---|
| static int | ARTICLE |
| static int | AUTHINFO |
| static int | BODY |
| static int | GROUP |
| static int | HEAD |
| static int | HELP |
| static int | IHAVE |
| static int | LAST |
| static int | LIST |
| static int | NEWGROUPS |
| static int | NEWNEWS |
| static int | NEXT |
| static int | POST |
| static int | QUIT |
| static int | SLAVE |
| static int | STAT |
| static int | XHDR |
| static int | XOVER |
| Method Summary | |
|---|---|
| static String | getCommand(int command)
Retrieve the NNTP protocol command string corresponding to a specified
command code.
|
Parameters: command The command code.
Returns: The NNTP protcol command string corresponding to a specified command code.