Class NNTPCommand

java.lang.Object
org.apache.commons.net.nntp.NNTPCommand

public final class NNTPCommand extends Object
NNTPCommand stores a set of constants for NNTP command codes. To interpret the meaning of the codes, familiarity with RFC 977 is assumed.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    NNTP command code 0.
    static final int
    NNTP command code 15.
    static final int
    NNTP command code 1.
    static final int
    NNTP command code 2.
    static final int
    NNTP command code 3.
    static final int
    NNTP command code 4.
    static final int
    NNTP command code 5.
    static final int
    NNTP command code 6.
    static final int
    NNTP command code 7.
    static final int
    NNTP command code 8.
    static final int
    NNTP command code 9.
    static final int
    NNTP command code 10.
    static final int
    NNTP command code 11.
    static final int
    NNTP command code 12.
    static final int
    NNTP command code 13.
    static final int
    NNTP command code 14.
    static final int
    NNTP command code 17.
    static final int
    NNTP command code 16.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getCommand(int command)
    Gets 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