Example usage for Java org.apache.commons.exec CommandLine fields, constructors, methods, implement or subclass
The text is from its open source code.
CommandLine(final String executable) Create a command line without any arguments. | |
CommandLine(final File executable) Create a command line without any arguments. | |
CommandLine(final CommandLine other) Copy constructor. |
CommandLine | addArgument(final String argument) Add a single argument. |
CommandLine | addArgument(final String argument, final boolean handleQuoting) Add a single argument. |
CommandLine | addArguments(final String[] addArguments) Add multiple arguments. |
CommandLine | addArguments(final String addArguments) Add multiple arguments. |
CommandLine | addArguments(final String[] addArguments, final boolean handleQuoting) Add multiple arguments. |
CommandLine | addArguments(final String addArguments, final boolean handleQuoting) Add multiple arguments. |
String[] | getArguments() Returns the expanded and quoted command line arguments. |
String | getExecutable() Returns the executable. |
CommandLine | parse(final String line) Create a command line from a string. |
CommandLine | parse(final String line, final Map Create a command line from a string. |
void | setSubstitutionMap(final Map Set the substitutionMap to expand variables in the command line. |
String | toString() Stringify operator returns the command line as a string. |
String[] | toStrings() Returns the command line as an array of strings. |