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.runtime |
This package contains the classes that manage the secure runtime
environment for JNLP apps.
|
Modifier and Type | Method and Description |
---|---|
UpdatePolicy |
Launcher.getUpdatePolicy()
Returns the update policy used when launching applications.
|
Modifier and Type | Method and Description |
---|---|
JNLPFile |
JNLPCreator.create(java.net.URL location,
Version version,
boolean strict,
UpdatePolicy policy,
java.net.URL forceCodebase) |
void |
Launcher.setUpdatePolicy(UpdatePolicy policy)
Sets the update policy used by launched applications.
|
Constructor and Description |
---|
JNLPFile(java.net.URL location,
java.lang.String uniqueKey,
Version version,
boolean strict,
UpdatePolicy policy)
Create a JNLPFile from a URL, parent URLm a version and checking for
updates using the specified policy.
|
JNLPFile(java.net.URL location,
Version version,
boolean strict,
UpdatePolicy policy)
Create a JNLPFile from a URL and a version, checking for updates
using the specified policy.
|
JNLPFile(java.net.URL location,
Version version,
boolean strict,
UpdatePolicy policy,
java.net.URL forceCodebase)
Create a JNLPFile from a URL and a version, checking for updates
using the specified policy.
|
Launcher(LaunchHandler handler,
UpdatePolicy policy)
Create a launcher with an optional handler using the
specified update policy and launch handler.
|
Modifier and Type | Field and Description |
---|---|
static UpdatePolicy |
UpdatePolicy.ALWAYS |
static UpdatePolicy |
UpdatePolicy.FORCE |
static UpdatePolicy |
UpdatePolicy.NEVER |
static UpdatePolicy |
UpdatePolicy.SESSION |
Modifier and Type | Method and Description |
---|---|
UpdatePolicy |
Resource.getUpdatePolicy()
Returns the update policy for this resource
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceTracker.addResource(java.net.URL location,
Version version,
DownloadOptions options,
UpdatePolicy updatePolicy)
Add a resource identified by the specified location and
version.
|
static java.net.URL |
CacheUtil.getCachedResource(java.net.URL location,
Version version,
UpdatePolicy policy)
Caches a resource and returns a URL for it in the cache;
blocks until resource is cached.
|
static Resource |
Resource.getResource(java.net.URL location,
Version requestVersion,
UpdatePolicy updatePolicy)
Return a shared Resource object representing the given
location and version.
|
Modifier and Type | Method and Description |
---|---|
static UpdatePolicy |
JNLPRuntime.getDefaultUpdatePolicy()
Returns the default update policy.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static void |
JNLPRuntime.setDefaultUpdatePolicy(UpdatePolicy policy)
Sets the default update policy.
|
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.
|