|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface supports the operations required on a Usenet news client.
Any URLs passed to methods in this interface should correspond to the usenet news URL format specified in RFC 1738
Method Summary | |
void |
selectGroup(java.net.URL group)
Select and display messages in the specified newsgroup. |
void |
selectMessage(java.net.URL message)
Select and display a message with the given message ID. |
Methods inherited from interface org.dvb.internet.InternetClient |
addInternetClientListener, getService, getServiceContentLocators, removeInternetClientListener |
Method Detail |
public void selectMessage(java.net.URL message) throws ClientNotRunningException
This is an asynchronous operation, whose success or failure will be indicated by an
InternetClientSuccessEvent
or InternetClientFailureEvent
or
one of their subclasses.
message
- the URL of the message. This may or may not include
the address of a news server.java.lang.SecurityException
- if the caller does not have a SocketPermission
for the host part of the specified URLjava.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 1738ClientNotRunningException
- if the client is not currently running.public void selectGroup(java.net.URL group) throws ClientNotRunningException
This is an asynchronous operation, whose success or failure will be indicated by an
InternetClientSuccessEvent
or InternetClientFailureEvent
or
one of their subclasses.
group
- the URL of the group. This may or may not include
the address of a news server.java.lang.SecurityException
- if the caller does not have a SocketPermission
for the host part of the specified URL.java.lang.IllegalArgumentException
- if the specified URL does not
correspond to the Usenet news URL format specified in RFC 1738ClientNotRunningException
- if the client is not currently running.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |