| |
|
| java.lang.Object org.apache.commons.net.nntp.NewsgroupInfo
MODERATED_POSTING_PERMISSION | final public static int MODERATED_POSTING_PERMISSION(Code) | | A constant indicating that a newsgroup is moderated. **
|
PERMITTED_POSTING_PERMISSION | final public static int PERMITTED_POSTING_PERMISSION(Code) | | A constant indicating that a newsgroup is public and unmoderated. **
|
PROHIBITED_POSTING_PERMISSION | final public static int PROHIBITED_POSTING_PERMISSION(Code) | | A constant indicating that a newsgroup is closed for general posting.
|
UNKNOWN_POSTING_PERMISSION | final public static int UNKNOWN_POSTING_PERMISSION(Code) | | A constant indicating that the posting permission of a newsgroup is
unknown. For example, the NNTP GROUP command does not return posting
information, so NewsgroupInfo instances obtained from that command
willhave an UNKNOWN_POSTING_PERMISSION.
|
_setArticleCount | void _setArticleCount(int count)(Code) | | |
_setFirstArticle | void _setFirstArticle(int first)(Code) | | |
_setLastArticle | void _setLastArticle(int last)(Code) | | |
_setPostingPermission | void _setPostingPermission(int permission)(Code) | | |
getArticleCount | public int getArticleCount()(Code) | | Get the estimated number of articles in the newsgroup. The
accuracy of this value will depend on the server implementation.
The estimated number of articles in the newsgroup. |
getFirstArticle | public int getFirstArticle()(Code) | | Get the number of the first article in the newsgroup.
The number of the first article in the newsgroup. |
getLastArticle | public int getLastArticle()(Code) | | Get the number of the last article in the newsgroup.
The number of the last article in the newsgroup. |
getNewsgroup | public String getNewsgroup()(Code) | | Get the newsgroup name.
The name of the newsgroup. |
getPostingPermission | public int getPostingPermission()(Code) | | Get the posting permission of the newsgroup. This will be one of
the POSTING_PERMISSION constants.
The posting permission status of the newsgroup. |
|
|
|