|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Abstraction of entire NNTP Repository.
Method Summary | |
void |
createArticle(NNTPLineReader reader)
Creates an article in the repository from the data in the reader. |
NNTPArticle |
getArticleFromID(String id)
Gets the article with the specified id from within the repository. |
Iterator |
getArticlesSince(Date dt)
Gets all articles posted since the specified date |
NNTPGroup |
getGroup(String groupName)
Gets the group with the specified name from within the repository. |
Iterator |
getGroupsSince(Date dt)
Gets all groups added since the specified date |
Iterator |
getMatchedGroups(String wildmat)
Gets all groups that match the wildmat string |
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 |
public NNTPGroup getGroup(String groupName)
groupName
- the name of the group to retrieve
public NNTPArticle getArticleFromID(String id)
id
- the id of the article to retrieve
public void createArticle(NNTPLineReader reader)
reader
- the reader that serves as a source for the article datapublic Iterator getMatchedGroups(String wildmat)
wildmat
- the wildmat parameter
public Iterator getGroupsSince(Date dt)
dt
- the Date that serves as a lower bound
public Iterator getArticlesSince(Date dt)
dt
- the Date that serves as a lower bound
public boolean isReadOnly()
public String[] getOverviewFormat()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |