public final class NewsgroupInfo
extends java.lang.Object
selectNewsgroup
,
listNewsgroups
, and
listNewNewsgroups
respectively.NNTPClient
Modifier and Type | Field and Description |
---|---|
private long |
__estimatedArticleCount |
private long |
__firstArticle |
private long |
__lastArticle |
private java.lang.String |
__newsgroup |
private int |
__postingPermission |
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.
|
Constructor and Description |
---|
NewsgroupInfo() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
_setArticleCount(long count) |
(package private) void |
_setFirstArticle(long first) |
(package private) void |
_setLastArticle(long last) |
(package private) void |
_setNewsgroup(java.lang.String newsgroup) |
(package private) void |
_setPostingPermission(int permission) |
int |
getArticleCount()
Deprecated.
|
long |
getArticleCountLong()
Get the estimated number of articles in the newsgroup.
|
int |
getFirstArticle()
Deprecated.
|
long |
getFirstArticleLong()
Get the number of the first article in the newsgroup.
|
int |
getLastArticle()
Deprecated.
|
long |
getLastArticleLong()
Get the number of the last article in the newsgroup.
|
java.lang.String |
getNewsgroup()
Get the newsgroup name.
|
int |
getPostingPermission()
Get the posting permission of the newsgroup.
|
public static final int UNKNOWN_POSTING_PERMISSION
public static final int MODERATED_POSTING_PERMISSION
public static final int PERMITTED_POSTING_PERMISSION
public static final int PROHIBITED_POSTING_PERMISSION
private java.lang.String __newsgroup
private long __estimatedArticleCount
private long __firstArticle
private long __lastArticle
private int __postingPermission
void _setNewsgroup(java.lang.String newsgroup)
void _setArticleCount(long count)
void _setFirstArticle(long first)
void _setLastArticle(long last)
void _setPostingPermission(int permission)
public java.lang.String getNewsgroup()
public long getArticleCountLong()
public long getFirstArticleLong()
public long getLastArticleLong()
public int getPostingPermission()
POSTING_PERMISSION
constants.
@Deprecated public int getArticleCount()
@Deprecated public int getFirstArticle()
@Deprecated public int getLastArticle()