org.apache.tools.ant.types
public static class Commandline.Argument extends ProjectComponent
Method Summary | |
---|---|
String[] | getParts()
Return the constituent parts of this Argument. |
void | setFile(File value)
Set a single commandline argument to the absolute filename
of the given file.
|
void | setLine(String line)
Set the line to split into several commandline arguments.
|
void | setPath(Path value)
Set a single commandline argument and treats it like a
PATH--ensuring the right separator for the local platform
is used.
|
void | setPathref(Reference value)
Set a single commandline argument from a reference to a
path--ensuring the right separator for the local platform
is used.
|
void | setPrefix(String prefix)
Set the prefix to be placed in front of every part of the
argument.
|
void | setSuffix(String suffix)
Set the suffix to be placed at the end of every part of the
argument.
|
void | setValue(String value)
Set a single commandline argument.
|
Returns: an array of strings.
Parameters: value a single commandline argument.
Parameters: line line to split into several commandline arguments.
Parameters: value a single commandline argument.
Parameters: value a single commandline argument.
Parameters: prefix fixed prefix string.
Since: Ant 1.8.0
Parameters: suffix fixed suffix string.
Since: Ant 1.8.0
Parameters: value a single commandline argument.