|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
public interface BasicService
The BasicService interface provides access to the codebase
of the application, if an application is run in offline mode,
and simple interaction with the native browser on the
given platform.
This interface mimics loosely the AppletContext
functionality.
| Method Summary | |
|---|---|
java.net.URL |
getCodeBase()
Returns the codebase for the application. |
boolean |
isOffline()
Determines if the system is offline. |
boolean |
isWebBrowserSupported()
Checks if a Web browser is supported on the current platform and by the given JNLP Client. |
boolean |
showDocument(java.net.URL url)
Directs a browser on the client to show the given URL. |
| Method Detail |
|---|
java.net.URL getCodeBase()
boolean isOffline()
true if the system is offline, otherwise falseboolean showDocument(java.net.URL url)
url - an URL giving the location of the document. A relative URL
will be relative to the codebase.
true if the request succeded, otherwise falseboolean isWebBrowserSupported()
showDocument(java.net.URL)
will always return false.
true if a Web browser is supported, otherwise false
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||