public interface Newsrc
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the configuration, potentially saving any changes.
|
boolean |
isSeen(String newsgroup,
int article)
Indicates whether an article is marked as seen in the specified newsgroup.
|
boolean |
isSubscribed(String newsgroup)
Indicates whether a newsgroup is subscribed in this newsrc.
|
Iterator |
list()
Returns an iterator over the names of the subscribed newsgroups.
|
void |
setSeen(String newsgroup,
int article,
boolean seen)
Sets whether an article is marked as seen in the specified newsgroup.
|
void |
setSubscribed(String newsgroup,
boolean subs)
Sets whether a newsgroup is subscribed in this newsrc.
|
Iterator list()
boolean isSubscribed(String newsgroup)
void setSubscribed(String newsgroup, boolean subs)
boolean isSeen(String newsgroup, int article)
void setSeen(String newsgroup, int article, boolean seen)
void close()
Copyright © 2017. All rights reserved.