|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UsenetClientService
Service representing the resident usenet news client
Method Summary | |
---|---|
void |
setInitialGroup(java.net.URL group)
Set the initial group to be displayed when the news client starts. |
void |
setInitialMessage(java.net.URL message)
Set the initial message to be used when the news client starts. |
void |
subscribe(java.lang.String newsgroup)
Add a newsgroup to the list currently subscribed newsgroups. |
Methods inherited from interface org.dvb.internet.InternetClientService |
---|
canRunApplication, getName, getServiceType, getSupportedClientServices, hasMultipleInstances, retrieveDetails |
Methods inherited from interface javax.tv.service.Service |
---|
equals, getLocator, hashCode |
Method Detail |
---|
void subscribe(java.lang.String newsgroup) throws java.io.IOException
newsgroup
- the name of the newsgroup that should be subscribed to
IOException
- if no more newsgroups can be added due to a lack of storage spacevoid setInitialMessage(java.net.URL message)
message
- the URL of the message. This may or may not include the address of a news server
java.lang.IllegalArgumentException
- 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(java.net.URL group)
group
- the URL of the message. This may or may not include the address of a news server
java.lang.IllegalArgumentException
- if the specified URL does not
correspond to the Usenet news URL format specified in RFC 1738
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |