public class CommandLine
extends java.lang.Object
Constructor and Description |
---|
CommandLine() |
CommandLine(char optionCh) |
Modifier and Type | Method and Description |
---|---|
void |
addOptionSpec(OptionSpec optSpec) |
Option |
getOption(java.lang.String name) |
java.util.Iterator |
getParams() |
boolean |
hasOption(java.lang.String name) |
void |
parse(java.lang.String[] args) |
java.lang.String |
printDoc() |
public void addOptionSpec(OptionSpec optSpec)
public Option getOption(java.lang.String name)
public java.util.Iterator getParams()
public boolean hasOption(java.lang.String name)
public java.lang.String printDoc()
public void parse(java.lang.String[] args) throws ParseException
ParseException