Uses of Class
net.sourceforge.jnlp.Version
Packages that use Version
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 Version in net.sourceforge.jnlp
Subclasses of Version in net.sourceforge.jnlpModifier and TypeClassDescriptionstatic class
This is special case of version, used only for checking jre version.Fields in net.sourceforge.jnlp declared as VersionModifier and TypeFieldDescriptionprotected Version
JNLPFile.fileVersion
file versionprotected Version
JNLPFile.specVersion
spec versionMethods in net.sourceforge.jnlp that return VersionModifier and TypeMethodDescriptionJNLPFile.getFileVersion()
Parser.getFileVersion()
Returns the file version.JNLPFile.getSpecVersion()
Parser.getSpecVersion()
ExtensionDesc.getVersion()
JARDesc.getVersion()
Methods in net.sourceforge.jnlp with parameters of type VersionModifier and TypeMethodDescriptionJNLPCreator.create
(URL location, Version version, ParserSettings settings, UpdatePolicy policy, URL forceCodebase) boolean
boolean
Version.matchesAny
(Version version) 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.Constructors in net.sourceforge.jnlp with parameters of type VersionModifierConstructorDescriptionExtensionDesc
(String name, Version version, URL location) Create an extention descriptor.JARDesc
(URL location, Version version, String part, boolean lazy, boolean main, boolean nativeJar, boolean cacheable) Create a JAR descriptor.JNLPFile
(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) Create a JNLPFile from a URL and a Version checking for updates using the default 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 Version in net.sourceforge.jnlp.cache
Methods in net.sourceforge.jnlp.cache that return VersionMethods in net.sourceforge.jnlp.cache with parameters of type VersionModifier 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 File
CacheUtil.getCacheFile
(URL source, Version version) Returns the file for the locally cached contents of the source.static OutputStream
CacheUtil.getOutputStream
(URL source, Version version) Returns a buffered output stream open for writing to the cache file.static Permission
CacheUtil.getReadPermission
(URL location, Version version) Returns the Permission object necessary to access the resource, ornull
if no permission is needed.static Resource
Resource.getResource
(URL location, Version requestVersion, UpdatePolicy updatePolicy) Return a shared Resource object representing the given location and version.static boolean
CacheUtil.isCacheable
(URL source, Version version) Returns whether the resource can be cached as a local file; if not, then URLConnection.openStream can be used to obtain the contents.static boolean
Returns true if the cache has a local copy of the contents of the URL matching the specified version string.static boolean
CacheUtil.isCurrent
(URL source, Version version, long lastModifed, CacheEntry entry, File cachedFile) Returns whether there is a version of the URL contents in the cache and it is up to date.static File
CacheUtil.makeNewCacheFile
(URL source, Version version) This will create a new entry for the cache item.void
Resource.setDownloadVersion
(Version downloadVersion) Sets the version downloaded from serverConstructors in net.sourceforge.jnlp.cache with parameters of type VersionModifierConstructorDescriptionCacheEntry
(URL location, Version version) Create a CacheEntry for the resources specified as a remote URL. -
Uses of Version in net.sourceforge.jnlp.runtime
Methods in net.sourceforge.jnlp.runtime with parameters of type VersionModifier and TypeMethodDescriptionstatic void
ManageJnlpResources.downloadJars
(JNLPClassLoader classLoader, URL ref, String part, Version version) Downloads jars identified by part name.static JARDesc[]
ManageJnlpResources.findJars
(JNLPClassLoader rootClassLoader, URL ref, String part, Version version) Returns jars from the JNLP file with the part name provided.static 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.