org.apache.tools.ant.types
Class Commandline.Argument
- Commandline
public static class Commandline.Argument
Used for nested xml command line definitions.
String[] | getParts()- Returns the parts this Argument consists of.
|
void | setFile(File value)- Sets a single commandline argument to the absolute filename
of the given file.
|
void | setLine(String line)- Line to split into several commandline arguments.
|
void | setPath(Path value)- Sets a single commandline argument and treats it like a
PATH - ensures the right separator for the local platform
is used.
|
void | setPathref(Reference value)- Sets a single commandline argument from a reference to a
path - ensures the right separator for the local platform
is used.
|
void | setValue(String value)- Sets a single commandline argument.
|
getParts
public String[] getParts()
Returns the parts this Argument consists of.
setFile
public void setFile(File value)
Sets a single commandline argument to the absolute filename
of the given file.
value - a single commandline argument.
setLine
public void setLine(String line)
Line to split into several commandline arguments.
line - line to split into several commandline arguments
setPath
public void setPath(Path value)
Sets a single commandline argument and treats it like a
PATH - ensures the right separator for the local platform
is used.
value - a single commandline argument.
setPathref
public void setPathref(Reference value)
Sets a single commandline argument from a reference to a
path - ensures the right separator for the local platform
is used.
value - a single commandline argument.
setValue
public void setValue(String value)
Sets a single commandline argument.
value - a single commandline argument.
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.