|
For updates and more see jargs.sourceforge.net | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jargs.gnu.CmdLineParser jargs.examples.gnu.AutoHelpParser
public class AutoHelpParser
This example shows how to dynamically create basic output for a --help option.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class jargs.gnu.CmdLineParser |
---|
CmdLineParser.IllegalOptionValueException, CmdLineParser.NotFlagException, CmdLineParser.Option, CmdLineParser.OptionException, CmdLineParser.UnknownOptionException, CmdLineParser.UnknownSuboptionException |
Constructor Summary | |
---|---|
AutoHelpParser()
|
Method Summary | |
---|---|
CmdLineParser.Option |
addHelp(CmdLineParser.Option option,
java.lang.String helpString)
|
static void |
main(java.lang.String[] args)
|
void |
printUsage()
|
Methods inherited from class jargs.gnu.CmdLineParser |
---|
addBooleanOption, addBooleanOption, addDoubleOption, addDoubleOption, addIntegerOption, addIntegerOption, addLongOption, addLongOption, addOption, addStringOption, addStringOption, getOptionValue, getOptionValue, getOptionValues, getRemainingArgs, parse, parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoHelpParser()
Method Detail |
---|
public CmdLineParser.Option addHelp(CmdLineParser.Option option, java.lang.String helpString)
public void printUsage()
public static void main(java.lang.String[] args)
|
For updates and more see jargs.sourceforge.net | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |