Class ApplicationDesc

java.lang.Object
net.sourceforge.jnlp.ApplicationDesc
All Implemented Interfaces:
LaunchDesc

public class ApplicationDesc extends Object implements LaunchDesc
The application-desc element.
  • Constructor Details

    • ApplicationDesc

      public ApplicationDesc(String mainClass, String[] arguments, boolean isFX)
      Create an Application descriptor.
      Parameters:
      mainClass - the main class name and package
      arguments - the arguments
  • Method Details

    • getMainClass

      public String getMainClass()
      Specified by:
      getMainClass in interface LaunchDesc
      Returns:
      the main class name
    • getArguments

      public String[] getArguments()
      Returns:
      the arguments
    • addArgument

      public void addArgument(String arg)
      Add an argument to the end of the arguments.
      Parameters:
      arg - argument of command