|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jnlp.JNLPFile
net.sourceforge.jnlp.PluginBridge
public class PluginBridge
Allows reuse of code that expects a JNLPFile object, while overriding behaviour specific to applets.
Field Summary |
---|
Fields inherited from class net.sourceforge.jnlp.JNLPFile |
---|
codeBase, component, defaultArch, defaultLocale, defaultOS, fileLocation, fileVersion, info, launchType, resources, security, sharedResources, sourceLocation, specVersion, uniqueKey, update |
Constructor Summary | |
---|---|
PluginBridge(java.net.URL codebase,
java.net.URL documentBase,
java.lang.String jar,
java.lang.String main,
int width,
int height,
java.util.Map<java.lang.String,java.lang.String> atts,
java.lang.String uKey)
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,
java.util.Map<java.lang.String,java.lang.String> atts,
java.lang.String uKey,
JNLPCreator jnlpCreator)
|
Method Summary | |
---|---|
boolean |
codeBaseLookup()
|
java.util.List<java.lang.String> |
getCodeBaseFolders()
Returns the list of folders to be added to the codebase |
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 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()
|
Methods inherited from class net.sourceforge.jnlp.JNLPFile |
---|
getApplet, getApplication, getCodeBase, getComponent, getFileLocation, getFileVersion, getInformation, getInformation, getInstaller, getLaunchInfo, getNewVMArgs, getResources, getResourcesDescs, getSecurity, getSourceLocation, getSpecVersion, getUniqueKey, getUpdate, getVendor, localeMatches, needsNewVM, requiresSignedJNLPWarning, setDefaults, setSignedJNLPAsMissing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PluginBridge(java.net.URL codebase, java.net.URL documentBase, java.lang.String jar, java.lang.String main, int width, int height, java.util.Map<java.lang.String,java.lang.String> atts, java.lang.String uKey) throws java.lang.Exception
java.lang.Exception
public PluginBridge(java.net.URL codebase, java.net.URL documentBase, java.lang.String archive, java.lang.String main, int width, int height, java.util.Map<java.lang.String,java.lang.String> atts, java.lang.String uKey, JNLPCreator jnlpCreator) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public boolean codeBaseLookup()
public boolean useJNLPHref()
public DownloadOptions getDownloadOptionsForJar(JARDesc jar)
getDownloadOptionsForJar
in class JNLPFile
public java.lang.String getTitle()
JNLPFile
getTitle
in class JNLPFile
public ResourcesDesc getResources(java.util.Locale locale, java.lang.String os, java.lang.String arch)
JNLPFile
getResources
in class JNLPFile
public 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 JNLPFile
public boolean isApplet()
JNLPFile
isApplet
in class JNLPFile
public boolean isApplication()
JNLPFile
isApplication
in class JNLPFile
public boolean isComponent()
JNLPFile
isComponent
in class JNLPFile
public boolean isInstaller()
JNLPFile
isInstaller
in class JNLPFile
|
IcedTea-Web NetX |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |