Uses of Class
net.sourceforge.jnlp.cache.UpdatePolicy
Packages that use UpdatePolicy
Package
Description
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.
This package contains the JNLP cache.
This package contains the classes that manage the secure runtime environment
for JNLP apps.
-
Uses of UpdatePolicy in net.sourceforge.jnlp
Methods in net.sourceforge.jnlp that return UpdatePolicyMethods in net.sourceforge.jnlp with parameters of type UpdatePolicyModifier and TypeMethodDescriptionJNLPCreator.create
(URL location, Version version, ParserSettings settings, UpdatePolicy policy, URL forceCodebase) static InputStream
JNLPFile.openURL
(URL location, Version version, UpdatePolicy policy) Open the jnlp file URL from the cache if there, otherwise download to the cache.void
Launcher.setUpdatePolicy
(UpdatePolicy policy) Sets the update policy used by launched applications.Constructors in net.sourceforge.jnlp with parameters of type UpdatePolicyModifierConstructorDescriptionJNLPFile
(URL location, String uniqueKey, Version version, ParserSettings settings, UpdatePolicy policy) Create a JNLPFile from a URL, parent URLm a version and checking for updates using the specified policy.JNLPFile
(URL location, Version version, ParserSettings settings, UpdatePolicy policy) Create a JNLPFile from a URL and a version, checking for updates using the specified policy.protected
JNLPFile
(URL location, Version version, ParserSettings settings, UpdatePolicy policy, URL forceCodebase) Create a JNLPFile from a URL and a version, checking for updates using the specified policy. -
Uses of UpdatePolicy in net.sourceforge.jnlp.cache
Fields in net.sourceforge.jnlp.cache declared as UpdatePolicyModifier and TypeFieldDescriptionstatic UpdatePolicy
UpdatePolicy.ALWAYS
static UpdatePolicy
UpdatePolicy.FORCE
static UpdatePolicy
UpdatePolicy.NEVER
static UpdatePolicy
UpdatePolicy.SESSION
Methods in net.sourceforge.jnlp.cache that return UpdatePolicyMethods in net.sourceforge.jnlp.cache with parameters of type UpdatePolicyModifier and TypeMethodDescriptionvoid
ResourceTracker.addResource
(URL location, Version version, DownloadOptions options, UpdatePolicy updatePolicy) Add a resource identified by the specified location and version.static File
CacheUtil.getCachedResourceFile
(URL location, Version version, UpdatePolicy policy) This is returning File object of cached resource originally from URLstatic URL
CacheUtil.getCachedResourceURL
(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
(URL location, Version requestVersion, UpdatePolicy updatePolicy) Return a shared Resource object representing the given location and version. -
Uses of UpdatePolicy in net.sourceforge.jnlp.runtime
Methods in net.sourceforge.jnlp.runtime that return UpdatePolicyMethods in net.sourceforge.jnlp.runtime with parameters of type UpdatePolicyModifier and TypeMethodDescriptionstatic JNLPClassLoader
JNLPClassLoader.getInstance
(URL location, String uniqueKey, Version version, ParserSettings settings, UpdatePolicy policy, String mainName, boolean enableCodeBase) Returns a JNLP classloader for the JNLP file at the specified location.static JNLPClassLoader
JNLPClassLoader.getInstance
(JNLPFile file, UpdatePolicy policy, boolean enableCodeBase) Returns a JNLP classloader for the specified JNLP file.static JNLPClassLoader
JNLPClassLoader.getInstance
(JNLPFile file, UpdatePolicy policy, String mainName, boolean enableCodeBase) Returns a JNLP classloader for the specified JNLP file.static void
JNLPRuntime.setDefaultUpdatePolicy
(UpdatePolicy policy) Sets the default update policy.Constructors in net.sourceforge.jnlp.runtime with parameters of type UpdatePolicyModifierConstructorDescriptionprotected
JNLPClassLoader
(JNLPFile file, UpdatePolicy policy) Create a new JNLPClassLoader from the specified file.protected
JNLPClassLoader
(JNLPFile file, UpdatePolicy policy, String mainName, boolean enableCodeBase) Create a new JNLPClassLoader from the specified file.