Class Boot

java.lang.Object
net.sourceforge.jnlp.runtime.Boot
All Implemented Interfaces:
PrivilegedAction<Void>

public final class Boot extends Object implements PrivilegedAction<Void>
This is the main entry point for the JNLP client. The main method parses the command line parameters and loads a JNLP file into the secure runtime environment. This class is meant to be called from the command line or file association; to initialize the netx engine from other code invoke the JNLPRuntime.initialize(boolean) method after configuring the runtime.
  • Field Details

    • name

      public static final String name
    • version

      public static final String version
  • Constructor Details

    • Boot

      public Boot()
  • Method Details

    • getOptionParser

      public static net.sourceforge.jnlp.util.optionparser.OptionParser getOptionParser()
    • main

      public static void main(String[] argsIn) throws net.sourceforge.jnlp.util.optionparser.UnevenParameterException
      Launch the JNLP file specified by the command-line arguments.
      Parameters:
      argsIn - launching arguments
      Throws:
      net.sourceforge.jnlp.util.optionparser.UnevenParameterException
    • run

      public Void run()
      The privileged part (jdk1.3 compatibility).
      Specified by:
      run in interface PrivilegedAction<Void>