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 classThis is special case of version, used only for checking jre version.Fields in net.sourceforge.jnlp declared as VersionModifier and TypeFieldDescriptionprotected VersionJNLPFile.fileVersionfile versionprotected VersionJNLPFile.specVersionspec 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) booleanbooleanVersion.matchesAny(Version version) static InputStreamJNLPFile.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.protectedJNLPFile(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 TypeMethodDescriptionvoidResourceTracker.addResource(URL location, Version version, DownloadOptions options, UpdatePolicy updatePolicy) Add a resource identified by the specified location and version.static FileCacheUtil.getCachedResourceFile(URL location, Version version, UpdatePolicy policy) This is returning File object of cached resource originally from URLstatic URLCacheUtil.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 FileCacheUtil.getCacheFile(URL source, Version version) Returns the file for the locally cached contents of the source.static OutputStreamCacheUtil.getOutputStream(URL source, Version version) Returns a buffered output stream open for writing to the cache file.static PermissionCacheUtil.getReadPermission(URL location, Version version) Returns the Permission object necessary to access the resource, ornullif no permission is needed.static ResourceResource.getResource(URL location, Version requestVersion, UpdatePolicy updatePolicy) Return a shared Resource object representing the given location and version.static booleanCacheUtil.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 booleanReturns true if the cache has a local copy of the contents of the URL matching the specified version string.static booleanCacheUtil.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 FileCacheUtil.makeNewCacheFile(URL source, Version version) This will create a new entry for the cache item.voidResource.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 voidManageJnlpResources.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 JNLPClassLoaderJNLPClassLoader.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.