Class Commandline

java.lang.Object
org.apache.tools.ant.types.Commandline
All Implemented Interfaces:
Cloneable

public class Commandline extends Object implements Cloneable
Commandline objects help handling command lines specifying processes to execute.

The class can be used to define a command line as nested elements or as a helper to define a command line by an application.

 <someelement>
   <acommandline executable="/executable/to/run">
     <argument value="argument 1"/>
     <argument line="argument_1 argument_2 argument_3"/>
     <argument value="argument 4"/>
   </acommandline>
 </someelement>
 
The element someelement must provide a method createAcommandline which returns an instance of this class.