Package | Description |
---|---|
org.apache.commons.net.nntp |
NNTP - network news transfer protocol
|
Modifier and Type | Method and Description |
---|---|
private ArticleInfo |
NNTPClient.__ap2ai(ArticlePointer ap) |
Modifier and Type | Method and Description |
---|---|
private void |
NNTPClient.__ai2ap(ArticleInfo ai,
ArticlePointer ap) |
private void |
NNTPClient.__parseArticlePointer(java.lang.String reply,
ArticleInfo pointer)
Parse the reply and store the id and number in the pointer.
|
private java.io.BufferedReader |
NNTPClient.__retrieve(int command,
long articleNumber,
ArticleInfo pointer) |
private java.io.BufferedReader |
NNTPClient.__retrieve(int command,
java.lang.String articleId,
ArticleInfo pointer) |
java.io.BufferedReader |
NNTPClient.retrieveArticle(long articleNumber,
ArticleInfo pointer)
Retrieves an article from the currently selected newsgroup.
|
java.io.BufferedReader |
NNTPClient.retrieveArticle(java.lang.String articleId,
ArticleInfo pointer)
Retrieves an article from the NNTP server.
|
java.io.BufferedReader |
NNTPClient.retrieveArticleBody(long articleNumber,
ArticleInfo pointer)
Retrieves an article body from the currently selected newsgroup.
|
java.io.BufferedReader |
NNTPClient.retrieveArticleBody(java.lang.String articleId,
ArticleInfo pointer)
Retrieves an article body from the NNTP server.
|
java.io.BufferedReader |
NNTPClient.retrieveArticleHeader(long articleNumber,
ArticleInfo pointer)
Retrieves an article header from the currently selected newsgroup.
|
java.io.BufferedReader |
NNTPClient.retrieveArticleHeader(java.lang.String articleId,
ArticleInfo pointer)
Retrieves an article header from the NNTP server.
|
boolean |
NNTPClient.selectArticle(ArticleInfo pointer)
Same as
selectArticle((String) null, articleId) . |
boolean |
NNTPClient.selectArticle(long articleNumber,
ArticleInfo pointer)
Select an article in the currently selected newsgroup by its number.
|
boolean |
NNTPClient.selectArticle(java.lang.String articleId,
ArticleInfo pointer)
Select an article by its unique identifier (including enclosing
< and >) and return its article number and id through the
pointer parameter.
|
boolean |
NNTPClient.selectNextArticle(ArticleInfo pointer)
Select the article following the currently selected article in the
currently selected newsgroup and return its number and unique id
through the pointer parameter.
|
boolean |
NNTPClient.selectPreviousArticle(ArticleInfo pointer)
Select the article preceeding the currently selected article in the
currently selected newsgroup and return its number and unique id
through the pointer parameter.
|