com.oroinc.net.nntp
Class NNTPCommand
java.lang.Object
|
+--com.oroinc.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.
- Author:
- Daniel F. Savarese
Method Summary |
static java.lang.String |
getCommand(int command)
Retrieve the NNTP protocol command string corresponding to a specified
command code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARTICLE
public static final int ARTICLE
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
getCommand
public static final java.lang.String getCommand(int command)
- Retrieve the NNTP protocol command string corresponding to a specified
command code.
- Parameters:
The
- command code.- Returns:
- The NNTP protcol command string corresponding to a specified
command code.
Copyright © 1997-2002 Daniel F. Savarese. All Rights Reserved.