Package com.oroinc.net.nntp
Class NNTPCommand
- java.lang.Object
-
- com.oroinc.net.nntp.NNTPCommand
-
public final class NNTPCommand extends java.lang.ObjectNNTPCommand stores a set of constants for NNTP command codes. To interpret the meaning of the codes, familiarity with RFC 977 is assumed.- Author:
- Daniel F. Savarese
-
-
Field Summary
Fields Modifier and Type Field Description static intARTICLEstatic intBODYstatic intGROUPstatic intHEADstatic intHELPstatic intIHAVEstatic intLASTstatic intLISTstatic intNEWGROUPSstatic intNEWNEWSstatic intNEXTstatic intPOSTstatic intQUITstatic intSLAVEstatic intSTAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetCommand(int command)Retrieve the NNTP protocol command string corresponding to a specified command code.
-
-
-
Field Detail
-
ARTICLE
public static final int ARTICLE
- See Also:
- Constant Field Values
-
BODY
public static final int BODY
- See Also:
- Constant Field Values
-
GROUP
public static final int GROUP
- See Also:
- Constant Field Values
-
HEAD
public static final int HEAD
- See Also:
- Constant Field Values
-
HELP
public static final int HELP
- See Also:
- Constant Field Values
-
IHAVE
public static final int IHAVE
- See Also:
- Constant Field Values
-
LAST
public static final int LAST
- See Also:
- Constant Field Values
-
LIST
public static final int LIST
- See Also:
- Constant Field Values
-
NEWGROUPS
public static final int NEWGROUPS
- See Also:
- Constant Field Values
-
NEWNEWS
public static final int NEWNEWS
- See Also:
- Constant Field Values
-
NEXT
public static final int NEXT
- See Also:
- Constant Field Values
-
POST
public static final int POST
- See Also:
- Constant Field Values
-
QUIT
public static final int QUIT
- See Also:
- Constant Field Values
-
SLAVE
public static final int SLAVE
- See Also:
- Constant Field Values
-
STAT
public static final int STAT
- See Also:
- Constant Field Values
-
-