public class Commandline.Marker
extends java.lang.Object
This class is there to support the srcfile and targetfile elements of <apply>.
Modifier and Type | Method and Description |
---|---|
int |
getPosition()
Return the number of arguments that preceded this marker.
|
java.lang.String |
getPrefix()
Get the prefix to be placed in front of the inserted argument.
|
java.lang.String |
getSuffix()
Get the suffix to be placed at the end of the inserted argument.
|
void |
setPrefix(java.lang.String prefix)
Set the prefix to be placed in front of the inserted argument.
|
void |
setSuffix(java.lang.String suffix)
Set the suffix to be placed at the end of the inserted argument.
|
public int getPosition()
The name of the executable -- if set -- is counted as the first argument.
public void setPrefix(java.lang.String prefix)
prefix
- fixed prefix string.public java.lang.String getPrefix()
public void setSuffix(java.lang.String suffix)
suffix
- fixed suffix string.public java.lang.String getSuffix()