org.apache.commons.net.nntp
public final class NewsgroupInfo extends Object
Field Summary | |
---|---|
static int | MODERATED_POSTING_PERMISSION A constant indicating that a newsgroup is moderated. |
static int | PERMITTED_POSTING_PERMISSION A constant indicating that a newsgroup is public and unmoderated. |
static int | PROHIBITED_POSTING_PERMISSION
A constant indicating that a newsgroup is closed for general posting.
|
static int | UNKNOWN_POSTING_PERMISSION
A constant indicating that the posting permission of a newsgroup is
unknown. |
Method Summary | |
---|---|
int | getArticleCount()
Get the estimated number of articles in the newsgroup. |
int | getFirstArticle()
Get the number of the first article in the newsgroup.
|
int | getLastArticle()
Get the number of the last article in the newsgroup.
|
String | getNewsgroup()
Get the newsgroup name.
|
int | getPostingPermission()
Get the posting permission of the newsgroup. |
Returns: The estimated number of articles in the newsgroup.
Returns: The number of the first article in the newsgroup.
Returns: The number of the last article in the newsgroup.
Returns: The name of the newsgroup.
POSTING_PERMISSION
constants.
Returns: The posting permission status of the newsgroup.