|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NNTPRepository
Abstraction of entire NNTP Repository.
Method Summary | |
---|---|
void |
createArticle(java.io.InputStream in)
Creates an article in the repository from the data in the reader. |
NNTPArticle |
getArticleFromID(java.lang.String id)
Gets the article with the specified id from within the repository. |
java.util.Iterator |
getArticlesSince(java.util.Date dt)
Gets all articles posted since the specified date |
NNTPGroup |
getGroup(java.lang.String groupName)
Gets the group with the specified name from within the repository. |
java.util.Iterator |
getGroupsSince(java.util.Date dt)
Gets all groups added since the specified date |
java.util.Iterator |
getMatchedGroups(java.lang.String wildmat)
Gets all groups that match the wildmat string |
java.lang.String[] |
getOverviewFormat()
Returns the ordered array of header names (including the trailing colon on each) returned in overview format for articles stored in this repository. |
boolean |
isReadOnly()
Returns whether this repository is read only. |
Method Detail |
---|
NNTPGroup getGroup(java.lang.String groupName)
groupName
- the name of the group to retrieve
NNTPArticle getArticleFromID(java.lang.String id)
id
- the id of the article to retrieve
void createArticle(java.io.InputStream in)
in
- the InputStream that serves as a source for the message data.java.util.Iterator getMatchedGroups(java.lang.String wildmat)
wildmat
- the wildmat parameter
java.util.Iterator getGroupsSince(java.util.Date dt)
dt
- the Date that serves as a lower bound
java.util.Iterator getArticlesSince(java.util.Date dt)
dt
- the Date that serves as a lower bound
boolean isReadOnly()
java.lang.String[] getOverviewFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |