|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Newsrc
Interface for a .newsrc configuration.
Method Summary | |
---|---|
void |
close()
Closes the configuration, potentially saving any changes. |
boolean |
isSeen(java.lang.String newsgroup,
int article)
Indicates whether an article is marked as seen in the specified newsgroup. |
boolean |
isSubscribed(java.lang.String newsgroup)
Indicates whether a newsgroup is subscribed in this newsrc. |
java.util.Iterator |
list()
Returns an iterator over the names of the subscribed newsgroups. |
void |
setSeen(java.lang.String newsgroup,
int article,
boolean seen)
Sets whether an article is marked as seen in the specified newsgroup. |
void |
setSubscribed(java.lang.String newsgroup,
boolean subs)
Sets whether a newsgroup is subscribed in this newsrc. |
Method Detail |
---|
java.util.Iterator list()
boolean isSubscribed(java.lang.String newsgroup)
void setSubscribed(java.lang.String newsgroup, boolean subs)
boolean isSeen(java.lang.String newsgroup, int article)
void setSeen(java.lang.String newsgroup, int article, boolean seen)
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |