public class PluginBridge extends JNLPFile
codeBase, component, defaultArch, defaultLocale, defaultOS, fileLocation, fileVersion, info, launchType, resources, security, sharedResources, sourceLocation, specVersion, uniqueKey, update| Constructor and Description |
|---|
PluginBridge(java.net.URL codebase,
java.net.URL documentBase,
java.lang.String jar,
java.lang.String main,
int width,
int height,
java.util.Hashtable<java.lang.String,java.lang.String> atts,
java.lang.String uKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
codeBaseLookup() |
DownloadOptions |
getDownloadOptionsForJar(JARDesc jar) |
ResourcesDesc |
getResources(java.util.Locale locale,
java.lang.String os,
java.lang.String arch)
Returns the resources section of the JNLP file for the
specified locale, os, and arch.
|
ResourcesDesc[] |
getResourcesDescs(java.util.Locale locale,
java.lang.String os,
java.lang.String arch)
Returns the resources section of the JNLP file for the
specified locale, os, and arch.
|
java.lang.String |
getTitle()
Returns the JNLP file's title.
|
boolean |
isApplet()
Returns whether the lauch descriptor describes an Applet.
|
boolean |
isApplication()
Returns whether the lauch descriptor describes an Application.
|
boolean |
isComponent()
Returns whether the lauch descriptor describes a Component.
|
boolean |
isInstaller()
Returns whether the lauch descriptor describes an Installer.
|
boolean |
useJNLPHref() |
getApplet, getApplication, getCodeBase, getComponent, getFileLocation, getFileVersion, getInformation, getInformation, getInstaller, getLaunchInfo, getNewVMArgs, getResources, getResourcesDescs, getSecurity, getSourceLocation, getSpecVersion, getUniqueKey, getUpdate, needsNewVM, requiresSignedJNLPWarning, setDefaults, setSignedJNLPAsMissingpublic PluginBridge(java.net.URL codebase,
java.net.URL documentBase,
java.lang.String jar,
java.lang.String main,
int width,
int height,
java.util.Hashtable<java.lang.String,java.lang.String> atts,
java.lang.String uKey)
throws java.lang.Exception
java.lang.Exceptionpublic boolean codeBaseLookup()
public boolean useJNLPHref()
public DownloadOptions getDownloadOptionsForJar(JARDesc jar)
getDownloadOptionsForJar in class JNLPFilepublic java.lang.String getTitle()
JNLPFilepublic ResourcesDesc getResources(java.util.Locale locale, java.lang.String os, java.lang.String arch)
JNLPFilegetResources in class JNLPFilepublic ResourcesDesc[] getResourcesDescs(java.util.Locale locale, java.lang.String os, java.lang.String arch)
getResourcesDescs in class JNLPFilepublic boolean isApplet()
JNLPFilepublic boolean isApplication()
JNLPFileisApplication in class JNLPFilepublic boolean isComponent()
JNLPFileisComponent in class JNLPFilepublic boolean isInstaller()
JNLPFileisInstaller in class JNLPFile