|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.clichart.main.OptionParser
public class OptionParser
Used to parse the command line into options and arguments.
Note: This class refers to the options parsed from the command-line as Options, while the Jakarta commons CLI API uses the word to mean option definitions. The commons usage is represented with a fully-qualified class name in this class.
| Constructor Summary | |
|---|---|
OptionParser()
|
|
| Method Summary | |
|---|---|
Options |
getOptions(java.lang.String[] args)
|
void |
showHelp(java.lang.String message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OptionParser()
| Method Detail |
|---|
public Options getOptions(java.lang.String[] args)
throws InvalidOptionsException,
ShowUsageException
InvalidOptionsException
ShowUsageExceptionpublic void showHelp(java.lang.String message)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||