org.apache.tools.ant.types
public class Commandline.Marker extends Object
This class is there to support the srcfile and targetfile elements of <apply>.
Method Summary | |
---|---|
int | getPosition()
Return the number of arguments that preceded this marker.
|
String | getPrefix()
Get the prefix to be placed in front of the inserted argument.
|
String | getSuffix()
Get the suffix to be placed at the end of the inserted argument.
|
void | setPrefix(String prefix)
Set the prefix to be placed in front of the inserted argument.
|
void | setSuffix(String suffix)
Set the suffix to be placed at the end of the inserted argument.
|
The name of the executable -- if set -- is counted as the first argument.
Returns: the position of this marker.
Since: Ant 1.8.0
Since: Ant 1.8.0
Parameters: prefix fixed prefix string.
Since: Ant 1.8.0
Parameters: suffix fixed suffix string.
Since: Ant 1.8.0