Package | Description |
---|---|
net.sourceforge.jnlp |
This package contains the classes that represent the parts of a Java Network
Launching Protocol (JNLP) file as objects, and a way to launch a JNLP file
as an application, applet, or installer.
|
net.sourceforge.jnlp.cache |
This package contains the JNLP cache.
|
net.sourceforge.jnlp.event | |
net.sourceforge.jnlp.runtime |
This package contains the classes that manage the secure runtime environment
for JNLP apps.
|
net.sourceforge.jnlp.services |
This package contains the classes that implement the standard services
defined by the JNLP specification.
|
Modifier and Type | Method | Description |
---|---|---|
protected ApplicationInstance |
Launcher.createApplication(JNLPFile file) |
Creates an Application.
|
protected ApplicationInstance |
Launcher.getApplet(JNLPFile file,
boolean enableCodeBase,
java.awt.Container cont) |
Gets an ApplicationInstance, but does not launch the applet.
|
ApplicationInstance |
Launcher.launch(java.net.URL location) |
Launches a JNLP file by calling the launch method for the
appropriate file type.
|
ApplicationInstance |
Launcher.launch(JNLPFile file) |
Launches a JNLP file by calling the launch method for the
appropriate file type.
|
ApplicationInstance |
Launcher.launch(JNLPFile file,
java.awt.Container cont) |
Launches a JNLP file inside the given container if it is an applet.
|
protected ApplicationInstance |
Launcher.launchApplet(JNLPFile file,
boolean enableCodeBase,
java.awt.Container cont) |
Launches a JNLP applet.
|
protected ApplicationInstance |
Launcher.launchApplication(JNLPFile file) |
Launches a JNLP application.
|
protected ApplicationInstance |
Launcher.launchInstaller(JNLPFile file) |
Launches a JNLP installer.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultLaunchHandler.launchCompleted(ApplicationInstance application) |
Called when an application, applet, or installer has been
launched successfully (the main method or applet start method
returned normally).
|
void |
GuiLaunchHandler.launchCompleted(ApplicationInstance application) |
|
void |
LaunchHandler.launchCompleted(ApplicationInstance application) |
Called when an application, applet, or installer has been
launched successfully (the main method or applet start method
returned normally).
|
void |
DefaultLaunchHandler.launchStarting(ApplicationInstance application) |
Do nothing when starting
|
void |
GuiLaunchHandler.launchStarting(ApplicationInstance application) |
|
void |
LaunchHandler.launchStarting(ApplicationInstance application) |
Called when an application, applet or installer is ready to start.
|
Modifier and Type | Method | Description |
---|---|---|
DownloadServiceListener |
DefaultDownloadIndicator.getListener(ApplicationInstance app,
java.lang.String downloadName,
java.net.URL[] resources) |
Return a download service listener that displays the progress
in a shared download info window.
|
DownloadServiceListener |
DownloadIndicator.getListener(ApplicationInstance app,
java.lang.String downloadName,
java.net.URL[] resources) |
Return a download service listener that displays the progress
of downloading resources.
|
static void |
CacheUtil.waitForResources(ApplicationInstance app,
ResourceTracker tracker,
java.net.URL[] resources,
java.lang.String title) |
Waits until the resources are downloaded, while showing a
progress indicator.
|
Modifier and Type | Method | Description |
---|---|---|
ApplicationInstance |
ApplicationEvent.getApplication() |
Constructor | Description |
---|---|
ApplicationEvent(ApplicationInstance source) |
Creates a launch event for the specified application
instance.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AppletInstance |
Represents a launched application instance created from a JNLP
file.
|
Modifier and Type | Method | Description |
---|---|---|
ApplicationInstance |
JNLPClassLoader.getApplication() |
|
static ApplicationInstance |
JNLPRuntime.getApplication() |
Modifier and Type | Method | Description |
---|---|---|
void |
JNLPClassLoader.setApplication(ApplicationInstance app) |
Sets the JNLP app this group is for; can only be called once.
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
ServiceUtil.checkAccess(ApplicationInstance app,
SecurityDialogs.AccessType type,
java.lang.Object... extras) |
Returns whether the app requesting a JNLP service has the right permissions.
|
static boolean |
ServiceUtil.isSigned(ApplicationInstance app) |
Returns whether the app requesting a JNLP service is a trusted
application
|