Java org.apache.commons.exec CommandLine fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.exec CommandLine fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.exec CommandLine.

The text is from its open source code.

Constructor

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.

Method

CommandLineaddArgument(final String argument)
Add a single argument.
CommandLineaddArgument(final String argument, final boolean handleQuoting)
Add a single argument.
CommandLineaddArguments(final String[] addArguments)
Add multiple arguments.
CommandLineaddArguments(final String addArguments)
Add multiple arguments.
CommandLineaddArguments(final String[] addArguments, final boolean handleQuoting)
Add multiple arguments.
CommandLineaddArguments(final String addArguments, final boolean handleQuoting)
Add multiple arguments.
String[]getArguments()
Returns the expanded and quoted command line arguments.
StringgetExecutable()
Returns the executable.
CommandLineparse(final String line)
Create a command line from a string.
CommandLineparse(final String line, final Map substitutionMap)
Create a command line from a string.
voidsetSubstitutionMap(final Map substitutionMap)
Set the substitutionMap to expand variables in the command line.
StringtoString()
Stringify operator returns the command line as a string.
String[]toStrings()
Returns the command line as an array of strings.