public interface UsenetClientService extends InternetClientService
| Modifier and Type | Method and Description |
|---|---|
void |
setInitialGroup(URL group)
Set the initial group to be displayed when the news client starts.
|
void |
setInitialMessage(URL message)
Set the initial message to be used when the news client starts.
|
void |
subscribe(String newsgroup)
Add a newsgroup to the list currently subscribed newsgroups.
|
canRunApplication, getName, getServiceType, getSupportedClientServices, hasMultipleInstances, retrieveDetailsequals, getLocator, hashCodevoid subscribe(String newsgroup) throws IOException
newsgroup - the name of the newsgroup that should be subscribed toIOException - if no more newsgroups can be added due to a lack of storage spacevoid setInitialMessage(URL message)
message - the URL of the message. This may or may not include the address of a news serverIllegalArgumentException - if the specified URL does not include
a Usenet news message ID or does not correspond to the Usenet news URL
format specified in RFC 1738void setInitialGroup(URL group)
group - the URL of the message. This may or may not include the address of a news serverIllegalArgumentException - if the specified URL does not
correspond to the Usenet news URL format specified in RFC 1738Copyright © 2012 code4tv.com. All Rights Reserved.