|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiaik.tc.utils.cmdline.CommonParser
iaik.tc.utils.cmdline.SubCommandParser
public class SubCommandParser
Constructor Summary | |
---|---|
SubCommandParser()
|
Method Summary | |
---|---|
void |
addSubCmd(SubCommand subCmd)
This method is used to add a new parameter that should be handled by the parser. |
void |
parse(java.lang.String[] args)
This method parses the given argument array. |
void |
printUsage()
This method prints a usage message to standard out. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubCommandParser()
Method Detail |
---|
public void parse(java.lang.String[] args) throws java.lang.IllegalArgumentException, CommandlineException
java.lang.IllegalArgumentException
CommandlineException
public void addSubCmd(SubCommand subCmd)
subCmd
- new command line parameterpublic void printUsage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |