public interface Newsrc
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()