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.runtime |
This package contains the classes that manage the secure runtime
environment for JNLP apps.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultLaunchHandler.launchError(LaunchException exception)
Called when the application could not be launched due to a
fatal error, such as the inability to find the main class
or non-parseable XML.
|
void |
GuiLaunchHandler.launchError(LaunchException exception) |
void |
LaunchHandler.launchError(LaunchException exception)
Called when the application could not be launched due to a
fatal error, such as the inability to find the main class or
non-parseable XML.
|
boolean |
DefaultLaunchHandler.launchWarning(LaunchException warning)
Called when launching the application can not be launched
due to an error that is not fatal.
|
boolean |
GuiLaunchHandler.launchWarning(LaunchException warning) |
boolean |
LaunchHandler.launchWarning(LaunchException warning)
Called when launching the application can not be launched due
to an error that is not fatal.
|
protected void |
AbstractLaunchHandler.printMessage(LaunchException ex)
Print a message
|
boolean |
DefaultLaunchHandler.validationError(LaunchException error)
Called when a security validation error occurs while
launching the application.
|
boolean |
GuiLaunchHandler.validationError(LaunchException error) |
boolean |
LaunchHandler.validationError(LaunchException error)
Called when a security validation error occurs while
launching the application.
|
Modifier and Type | Method and Description |
---|---|
protected AppletInstance |
Launcher.createApplet(JNLPFile file,
boolean enableCodeBase,
java.awt.Container cont)
Create an AppletInstance.
|
protected java.applet.Applet |
Launcher.createAppletObject(JNLPFile file,
boolean enableCodeBase,
java.awt.Container cont)
Creates an Applet object from a JNLPFile.
|
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(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.
|
ApplicationInstance |
Launcher.launch(java.net.URL location)
Launches a JNLP file by calling the launch method for the
appropriate file type.
|
ApplicationInstance |
Launcher.launch(java.net.URL location,
boolean fromSource)
Launches a JNLP file by calling the launch method for the
appropriate file type.
|
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.
|
void |
Launcher.launchExternal(java.util.List<java.lang.String> vmArgs,
JNLPFile file,
java.util.List<java.lang.String> javawsArgs)
Launches the JNLP file in a new JVM instance.
|
void |
Launcher.launchExternal(java.util.List<java.lang.String> vmArgs,
java.util.List<java.lang.String> javawsArgs)
Launches the JNLP file at the specified location in a new JVM
instance.
|
void |
Launcher.launchExternal(java.net.URL url)
Launches the JNLP file in a new JVM instance.
|
protected ApplicationInstance |
Launcher.launchInstaller(JNLPFile file)
Launches a JNLP installer.
|
Modifier and Type | Method and Description |
---|---|
protected JNLPClassLoader |
JNLPClassLoader.addNextResource()
Adds the next unused resource to the classloader.
|
static JNLPClassLoader |
JNLPClassLoader.getInstance(JNLPFile file,
UpdatePolicy policy)
Returns a JNLP classloader for the specified JNLP file.
|
static JNLPClassLoader |
JNLPClassLoader.getInstance(JNLPFile file,
UpdatePolicy policy,
java.lang.String mainName)
Returns a JNLP classloader for the specified JNLP file.
|
static JNLPClassLoader |
JNLPClassLoader.getInstance(java.net.URL location,
java.lang.String uniqueKey,
Version version,
UpdatePolicy policy,
java.lang.String mainName)
Returns a JNLP classloader for the JNLP file at the specified
location.
|
Constructor and Description |
---|
JNLPClassLoader(JNLPFile file,
UpdatePolicy policy)
Create a new JNLPClassLoader from the specified file.
|
JNLPClassLoader(JNLPFile file,
UpdatePolicy policy,
java.lang.String mainName)
Create a new JNLPClassLoader from the specified file.
|