org.codehaus.plexus.util.cli

Class Commandline.Marker

public class Commandline.Marker extends Object

Class to keep track of the position of an Argument.
Field Summary
intposition
intrealPos
Constructor Summary
Marker(int position)
Method Summary
intgetPosition()
Return the number of arguments that preceeded this marker.

Field Detail

position

private int position

realPos

private int realPos

Constructor Detail

Marker

Marker(int position)

Method Detail

getPosition

public int getPosition()
Return the number of arguments that preceeded this marker.

The name of the executable - if set - is counted as the very first argument.