Package org.eclipse.jdt.launching
Class ExecutionArguments
java.lang.Object
org.eclipse.jdt.launching.ExecutionArguments
The execution arguments for running a Java VM. The execution arguments are
separated into two parts: arguments to the VM itself, and arguments to the Java
main program. This class provides convenience methods for parsing a string
of arguments into separate components.
Clients may instantiate this class.
- Restriction:
- This class is not intended to be sub-classed by clients.
-
Constructor Summary
ConstructorDescriptionExecutionArguments
(String vmArgs, String programArgs) Creates a new execution arguments object. -
Method Summary
-
Constructor Details
-
ExecutionArguments
Creates a new execution arguments object.- Parameters:
vmArgs
- command line argument string passed to the VMprogramArgs
- command line argument string passed to the program
-
-
Method Details
-
getVMArguments
Returns the VM arguments as one string.- Returns:
- the VM arguments as one string
-
getProgramArguments
Returns the program arguments as one string.- Returns:
- the program arguments as one string
-
getVMArgumentsArray
Returns the VM arguments as an array of individual arguments.- Returns:
- the VM arguments as an array of individual arguments
-
getProgramArgumentsArray
Returns the program arguments as an array of individual arguments.- Returns:
- the program arguments as an array of individual arguments
-