public final 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() |
java.lang.String |
getDebugJnlp() |
DownloadOptions |
getDownloadOptions() |
PluginParameters |
getParams() |
SecurityDesc.RequestedPermissionLevel |
getRequestedPermissionLevel() |
ResourcesDesc |
getResources(java.util.Locale locale,
java.lang.String os,
java.lang.String arch) |
ResourcesDesc[] |
getResourcesDescs(java.util.Locale locale,
java.lang.String os,
java.lang.String arch) |
java.lang.String |
getTitle() |
boolean |
haveDebugJnlp() |
boolean |
isApplet() |
boolean |
isApplication() |
boolean |
isComponent() |
boolean |
isInstaller() |
static java.lang.String |
strippClass(java.lang.String s) |
java.lang.String |
toJnlp(boolean needSecurity,
boolean useHref,
boolean fix) |
boolean |
useJNLPHref() |
createJnlpTitle, createJnlpVendor, createJnlpVendorValue, createNameForDesktopFile, getApplet, getApplication, getCodeBase, getComponent, getFileLocation, getFileVersion, getInformation, getInformation, getInstaller, getLaunchInfo, getManifestsAttributes, getNewVMArgs, getNotNullProbalbeCodeBase, getParserSettings, getResources, getResourcesDescs, getSecurity, getSourceLocation, getSpecVersion, getTitle, getTitleFromJnlp, getTitleFromManifest, getUniqueKey, getUpdate, getVendor, getVendor, localeMatches, needsNewVM, openURL, 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
codebase - as specified in attributedocumentBase - as specified in attributejar - jar attribute valuemain - main method attribute valuewidth - width of appelt as specified in attributeheight - height of applet as specified in attributeparams - parameters as parsed from source htmljava.lang.Exception - general exception as anything can happenpublic 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 PluginParameters getParams()
public SecurityDesc.RequestedPermissionLevel getRequestedPermissionLevel()
getRequestedPermissionLevel in class JNLPFilepublic DownloadOptions getDownloadOptions()
getDownloadOptions in class JNLPFilepublic java.lang.String getTitle()
public ResourcesDesc getResources(java.util.Locale locale, java.lang.String os, java.lang.String arch)
getResources in class JNLPFilelocale - preferred locale of resourceos - preferred os of resourcearch - preferred arch of resourcepublic 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 JNLPFilelocale - preferred locale of resourceos - preferred os of resourcearch - preferred arch of resourcepublic boolean isApplet()
public boolean isApplication()
isApplication in class JNLPFilepublic boolean isComponent()
isComponent in class JNLPFilepublic boolean isInstaller()
isInstaller in class JNLPFilepublic java.lang.String getDebugJnlp()
public boolean haveDebugJnlp()
public java.lang.String toJnlp(boolean needSecurity,
boolean useHref,
boolean fix)
public static java.lang.String strippClass(java.lang.String s)