35 |
* @author <a href='mailto:dog@gnu.org'>Chris Burdess</a> |
* @author <a href='mailto:dog@gnu.org'>Chris Burdess</a> |
36 |
* @version $Revision$ $Date$ |
* @version $Revision$ $Date$ |
37 |
*/ |
*/ |
38 |
public interface Newsrc |
public interface Newsrc |
39 |
{ |
{ |
40 |
|
|
41 |
/** |
/** |
42 |
* Returns an iterator over the names of the subscribed newsgroups. |
* Returns an iterator over the names of the subscribed newsgroups. |
43 |
* Each item returned is a String. |
* Each item returned is a String. |
44 |
*/ |
*/ |
45 |
public Iterator list(); |
public Iterator list(); |
46 |
|
|
47 |
/** |
/** |
48 |
* Indicates whether a newsgroup is subscribed in this newsrc. |
* Indicates whether a newsgroup is subscribed in this newsrc. |
49 |
*/ |
*/ |
57 |
/** |
/** |
58 |
* Indicates whether an article is marked as seen in the specified newsgroup. |
* Indicates whether an article is marked as seen in the specified newsgroup. |
59 |
*/ |
*/ |
60 |
public boolean isSeen(String newsgroup, int article); |
public boolean isSeen(String newsgroup, int article); |
61 |
|
|
62 |
/** |
/** |
63 |
* Sets whether an article is marked as seen in the specified newsgroup. |
* Sets whether an article is marked as seen in the specified newsgroup. |