public class PluginBridge extends JNLPFile
JNLPFile.ManifestBoolean, JNLPFile.ManifestsAttributescodeBase, component, defaultArch, defaultLocale, defaultOS, fileLocation, fileVersion, info, launchType, parserSettings, resources, security, sharedResources, sourceLocation, specVersion, TITLE_NOT_FOUND, 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,
PluginParameters params)
Creates a new PluginBridge using a default JNLPCreator.
|
PluginBridge(java.net.URL codebase,
java.net.URL documentBase,
java.lang.String archive,
java.lang.String main,
int width,
int height,
PluginParameters params,
JNLPCreator jnlpCreator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
codeBaseLookup() |
java.util.List<java.lang.String> |
getArchiveJars() |
java.util.List<java.lang.String> |
getCodeBaseFolders()
Returns the list of folders to be added to the codebase
|
DownloadOptions |
getDownloadOptions() |
SecurityDesc.RequestedPermissionLevel |
getRequestedPermissionLevel() |
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 best localized 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, getManifestsAttributes, getNewVMArgs, getParserSettings, getResources, getResourcesDescs, getSecurity, getSourceLocation, getSpecVersion, getTitleFromJnlp, getTitleFromManifest, getUniqueKey, getUpdate, getVendor, localeMatches, 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,
PluginParameters params)
throws java.lang.Exception
java.lang.Exceptionpublic PluginBridge(java.net.URL codebase,
java.net.URL documentBase,
java.lang.String archive,
java.lang.String main,
int width,
int height,
PluginParameters params,
JNLPCreator jnlpCreator)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.List<java.lang.String> getArchiveJars()
public boolean codeBaseLookup()
public boolean useJNLPHref()
public SecurityDesc.RequestedPermissionLevel getRequestedPermissionLevel()
getRequestedPermissionLevel in class JNLPFilepublic DownloadOptions getDownloadOptions()
getDownloadOptions 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 java.util.List<java.lang.String> getCodeBaseFolders()
public 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