Uses of Class
net.sourceforge.jnlp.Version
-
Packages that use Version 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. -
-
Uses of Version in net.sourceforge.jnlp
Subclasses of Version in net.sourceforge.jnlp Modifier and Type Class Description static classVersion.JreVersionThis is special case of version, used only for checking jre version.Fields in net.sourceforge.jnlp declared as Version Modifier and Type Field Description protected VersionJNLPFile. fileVersionfile versionprotected VersionJNLPFile. specVersionspec versionMethods in net.sourceforge.jnlp that return Version Modifier and Type Method Description VersionJNLPFile. getFileVersion()VersionParser. getFileVersion()Returns the file version.VersionJNLPFile. getSpecVersion()VersionParser. getSpecVersion()VersionExtensionDesc. getVersion()VersionJARDesc. getVersion()Methods in net.sourceforge.jnlp with parameters of type Version Modifier and Type Method Description JNLPFileJNLPCreator. create(java.net.URL location, Version version, ParserSettings settings, UpdatePolicy policy, java.net.URL forceCodebase)booleanVersion. matches(Version version)booleanVersion. matchesAny(Version version)static java.io.InputStreamJNLPFile. openURL(java.net.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 Version Constructor Description ExtensionDesc(java.lang.String name, Version version, java.net.URL location)Create an extention descriptor.JARDesc(java.net.URL location, Version version, java.lang.String part, boolean lazy, boolean main, boolean nativeJar, boolean cacheable)Create a JAR descriptor.JNLPFile(java.net.URL location, java.lang.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(java.net.URL location, Version version, ParserSettings settings)Create a JNLPFile from a URL and a Version checking for updates using the default policy.JNLPFile(java.net.URL location, Version version, ParserSettings settings, 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, ParserSettings settings, UpdatePolicy policy, java.net.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 Version Modifier and Type Method Description VersionResource. getDownloadVersion()VersionResource. getRequestVersion()Methods in net.sourceforge.jnlp.cache with parameters of type Version Modifier and Type Method Description voidResourceTracker. addResource(java.net.URL location, Version version, DownloadOptions options, UpdatePolicy updatePolicy)Add a resource identified by the specified location and version.static java.io.FileCacheUtil. getCachedResourceFile(java.net.URL location, Version version, UpdatePolicy policy)This is returning File object of cached resource originally from URLstatic java.net.URLCacheUtil. getCachedResourceURL(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 java.io.FileCacheUtil. getCacheFile(java.net.URL source, Version version)Returns the file for the locally cached contents of the source.static java.io.OutputStreamCacheUtil. getOutputStream(java.net.URL source, Version version)Returns a buffered output stream open for writing to the cache file.static java.security.PermissionCacheUtil. getReadPermission(java.net.URL location, Version version)Returns the Permission object necessary to access the resource, ornullif no permission is needed.static ResourceResource. getResource(java.net.URL location, Version requestVersion, UpdatePolicy updatePolicy)Return a shared Resource object representing the given location and version.static booleanCacheUtil. isCacheable(java.net.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 booleanCacheUtil. isCached(java.net.URL source, Version version)Returns true if the cache has a local copy of the contents of the URL matching the specified version string.static booleanCacheUtil. isCurrent(java.net.URL source, Version version, long lastModifed, CacheEntry entry, java.io.File cachedFile)Returns whether there is a version of the URL contents in the cache and it is up to date.static java.io.FileCacheUtil. makeNewCacheFile(java.net.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 Version Constructor Description CacheEntry(java.net.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 Version Modifier and Type Method Description static voidManageJnlpResources. downloadJars(JNLPClassLoader classLoader, java.net.URL ref, java.lang.String part, Version version)Downloads jars identified by part name.static JARDesc[]ManageJnlpResources. findJars(JNLPClassLoader rootClassLoader, java.net.URL ref, java.lang.String part, Version version)Returns jars from the JNLP file with the part name provided.static JNLPClassLoaderJNLPClassLoader. getInstance(java.net.URL location, java.lang.String uniqueKey, Version version, ParserSettings settings, UpdatePolicy policy, java.lang.String mainName, boolean enableCodeBase)Returns a JNLP classloader for the JNLP file at the specified location.
-