org.codehaus.plexus.util.cli

Class Commandline.Marker

public class Commandline.Marker extends Object

Class to keep track of the position of an Argument.
Method Summary
intgetPosition()
Return the number of arguments that preceeded this marker.

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.

Copyright © 2001-2010 Codehaus. All Rights Reserved.