public interface WWWBrowser extends InternetClient
Any URLs passed to methods in this interface should correspond to the HTTP or FTP URL schemes specified in RFC 1738. Other schemes or URL formats may be supported, but these are implementation-specific and additional supported schemes should be discovered by querying the capabilities of the web browser if they are required.
| Modifier and Type | Method and Description |
|---|---|
void |
goToURL(URL url)
Direct the web browser to display the page at the specified URL.
|
addInternetClientListener, getService, getServiceContentLocators, removeInternetClientListenervoid goToURL(URL url) throws ClientNotRunningException
This is an asynchronous operation, whose success or failure will be indicated by an
InternetClientSuccessEvent or InternetClientFailureEvent or
one of their subclasses.
url - the URL to visitSecurityException - if the caller does not have a SocketPermission
for the host part of the specified URLIllegalArgumentException - if the URL scheme is not supported by the web
browser.ClientNotRunningException - if the client is not currently running.Copyright © 2012 code4tv.com. All Rights Reserved.