public class CommandFormat extends Object
构造器和说明 |
---|
CommandFormat(String n,
int min,
int max,
String... possibleOpt)
constructor
|
public List<String> parse(String[] args, int pos)
args
- an array of input argumentspos
- the position at which starts to parsepublic boolean getOpt(String option)
option
- String representation of an optionCopyright © 2009 The Apache Software Foundation