IcedTea-Web
NetX

net.sourceforge.jnlp
Class PluginBridge

java.lang.Object
  extended by net.sourceforge.jnlp.JNLPFile
      extended by net.sourceforge.jnlp.PluginBridge

public class PluginBridge
extends JNLPFile


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.Hashtable<java.lang.String,java.lang.String> atts)
           
 
Method Summary
 boolean codeBaseLookup()
           
 DownloadOptions getDownloadOptionsForJar(JARDesc jar)
          
 InformationDesc getInformation(java.util.Locale locale)
          Returns the information section of the JNLP file as viewed through the specified locale.
 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.
 
Methods inherited from class net.sourceforge.jnlp.JNLPFile
getApplet, getApplication, getCodeBase, getComponent, getFileLocation, getFileVersion, getInformation, getInstaller, getLaunchInfo, getNewVMArgs, getResources, getResourcesDescs, getSecurity, getSourceLocation, getSpecVersion, getUniqueKey, getUpdate, needsNewVM, setDefaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginBridge

public 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)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

codeBaseLookup

public boolean codeBaseLookup()

getDownloadOptionsForJar

public DownloadOptions getDownloadOptionsForJar(JARDesc jar)

Overrides:
getDownloadOptionsForJar in class JNLPFile
Returns:
the download options.

getTitle

public java.lang.String getTitle()
Description copied from class: JNLPFile
Returns the JNLP file's title. This method returns the same value as InformationDesc.getTitle().

Overrides:
getTitle in class JNLPFile

getInformation

public InformationDesc getInformation(java.util.Locale locale)
Description copied from class: JNLPFile
Returns the information section of the JNLP file as viewed through the specified locale.

Overrides:
getInformation in class JNLPFile

getResources

public ResourcesDesc getResources(java.util.Locale locale,
                                  java.lang.String os,
                                  java.lang.String arch)
Description copied from class: JNLPFile
Returns the resources section of the JNLP file for the specified locale, os, and arch.

Overrides:
getResources in class JNLPFile

getResourcesDescs

public 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.

Overrides:
getResourcesDescs in class JNLPFile

isApplet

public boolean isApplet()
Description copied from class: JNLPFile
Returns whether the lauch descriptor describes an Applet.

Overrides:
isApplet in class JNLPFile

isApplication

public boolean isApplication()
Description copied from class: JNLPFile
Returns whether the lauch descriptor describes an Application.

Overrides:
isApplication in class JNLPFile

isComponent

public boolean isComponent()
Description copied from class: JNLPFile
Returns whether the lauch descriptor describes a Component.

Overrides:
isComponent in class JNLPFile

isInstaller

public boolean isInstaller()
Description copied from class: JNLPFile
Returns whether the lauch descriptor describes an Installer.

Overrides:
isInstaller in class JNLPFile

IcedTea-Web
NetX

Submit a bug or feature