Package | Description |
---|---|
com.jscape.inet.nntp | |
com.jscape.inet.nntpssh |
Modifier and Type | Method and Description |
---|---|
void |
Nntp.connect()
Connects to NNTP server and authenticates using username and password if found.
|
NntpArticle |
Nntp.getArticle(int articleId)
Gets an article from current newsgroup.
|
NntpArticle |
Nntp.getArticle(java.lang.String messageID)
Gets an article from current newsgroup based on its Message-ID header.
|
NntpArticleHeader |
Nntp.getArticleHeader(int articleId)
Gets article header from current newsgroup.
|
java.util.Enumeration |
Nntp.getArticleHeaders()
Gets all article headers from current newsgroup.
|
java.util.Enumeration |
Nntp.getArticleHeaders(java.util.Date date)
Gets all article headers for current active newsgroup since a specified
date.
|
java.util.Enumeration |
Nntp.getArticleHeaders(int start,
int end)
Gets all article headers from NNTP server within a specific range using the XOVER command.
|
java.util.Enumeration |
Nntp.getArticleHeaders(java.lang.String group)
Gets all article headers for a newsgroup.
|
java.util.Enumeration |
Nntp.getArticleHeaders(java.lang.String[] groups,
java.util.Date date)
Gets article headers since a certain date in specified newsgroups.
|
NntpNewsgroup |
Nntp.getNewsgroup(java.lang.String group)
Creates
NntpNewsgroup from server response to GROUP command.Posting permission is not available in response to this command and it will be assigned to true. |
java.util.Enumeration |
Nntp.getNewsgroups()
Gets all newsgroups from NNTP server.
|
java.util.Enumeration |
Nntp.getNewsgroups(java.util.Date date)
Gets new newgroups from NNTP server since a specified date.
|
NntpArticle |
Nntp.getNextArticle()
Gets next article from current newsgroup.
|
NntpArticleHeader |
Nntp.getNextHeader()
Gets next article header from newsgroup.
|
NntpArticle |
Nntp.getPreviousArticle()
Gets previous article from current newsgroup.
|
NntpArticleHeader |
Nntp.getPreviousHeader()
Gets previous article header from current newsgroup.
|
java.lang.String |
Nntp.issueCommand(java.lang.String command)
Sends command to NNTP server.
|
void |
Nntp.postArticle(NntpArticle article)
Posts an article to NNTP server.
|
void |
Nntp.setNewsgroup(NntpNewsgroup group)
Sets current active newsgroup.
|
void |
Nntp.setNewsgroup(java.lang.String group)
Sets current active newsgroup.
|
Constructor and Description |
---|
NntpArticleBody(java.io.BufferedReader reader)
Creates new
NntpArticleBody instance from
BufferedReader . |
Modifier and Type | Method and Description |
---|---|
void |
NntpSsh.connect()
Connects to NNTP server tunnelling all data through SSH server.
|
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved