Package net.sourceforge.jnlp
Class ApplicationDesc
java.lang.Object
net.sourceforge.jnlp.ApplicationDesc
- All Implemented Interfaces:
LaunchDesc
The application-desc element.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationDesc
(String mainClass, String[] arguments, boolean isFX) Create an Application descriptor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addArgument
(String arg) Add an argument to the end of the arguments.String[]
-
Constructor Details
-
ApplicationDesc
Create an Application descriptor.- Parameters:
mainClass
- the main class name and packagearguments
- the arguments
-
-
Method Details
-
getMainClass
- Specified by:
getMainClass
in interfaceLaunchDesc
- Returns:
- the main class name
-
getArguments
- Returns:
- the arguments
-
addArgument
Add an argument to the end of the arguments.- Parameters:
arg
- argument of command
-