netx.jnlp.services

Class XBasicService

Implemented Interfaces:
javax.jnlp.BasicService

(package private) class XBasicService
extends java.lang.Object
implements javax.jnlp.BasicService

The BasicService JNLP service.
Version:
$Revision: 1.10 $
Author:
Jon A. Maxwell (JAM) - initial author

Constructor Summary

XBasicService()

Method Summary

URL
getCodeBase()
Returns the codebase of the application, applet, or installer.
boolean
isOffline()
Return true if the Environment is Offline
boolean
isWebBrowserSupported()
Return true if a Web Browser is Supported
boolean
showDocument(URL url)
Show a document.

Constructor Details

XBasicService

protected XBasicService()

Method Details

getCodeBase

public URL getCodeBase()
Returns the codebase of the application, applet, or installer. If the codebase was not specified in the JNLP element then the main JAR's location is returned. If no main JAR was specified then the location of the JAR containing the main class is returned.

isOffline

public boolean isOffline()
Return true if the Environment is Offline

isWebBrowserSupported

public boolean isWebBrowserSupported()
Return true if a Web Browser is Supported

showDocument

public boolean showDocument(URL url)
Show a document.
Returns:
whether the document was opened