For updates and more see jargs.sourceforge.net
A C G J L M O P S T W

A

addBooleanOption(char, String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding a boolean option.
addBooleanOption(String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding a boolean option.
addDoubleOption(char, String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding a double option.
addDoubleOption(String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding a double option.
addHelp(CmdLineParser.Option, String) - Method in class jargs.examples.gnu.AutoHelpParser
 
addIntegerOption(char, String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding an integer option.
addIntegerOption(String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding an integer option.
addLongOption(char, String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding a long integer option.
addLongOption(String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding a long integer option.
addOption(CmdLineParser.Option) - Method in class jargs.gnu.CmdLineParser
Add the specified Option to the list of accepted options
addStringOption(char, String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding a string option.
addStringOption(String) - Method in class jargs.gnu.CmdLineParser
Convenience method for adding a string option.
AllTests - Class in jargs.test.gnu
 
AllTests() - Constructor for class jargs.test.gnu.AllTests
 
AutoHelpParser - Class in jargs.examples.gnu
This example shows how to dynamically create basic output for a --help option.
AutoHelpParser() - Constructor for class jargs.examples.gnu.AutoHelpParser
 

C

CmdLineParser - Class in jargs.gnu
Largely GNU-compatible command-line options parser.
CmdLineParser() - Constructor for class jargs.gnu.CmdLineParser
 
CmdLineParser.IllegalOptionValueException - Exception in jargs.gnu
Thrown when an illegal or missing value is given by the user for an option that takes a value.
CmdLineParser.IllegalOptionValueException(CmdLineParser.Option, String) - Constructor for exception jargs.gnu.CmdLineParser.IllegalOptionValueException
 
CmdLineParser.NotFlagException - Exception in jargs.gnu
Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one or more requires a value.
CmdLineParser.Option - Class in jargs.gnu
Representation of a command-line option
CmdLineParser.Option(String, boolean) - Constructor for class jargs.gnu.CmdLineParser.Option
 
CmdLineParser.Option(char, String, boolean) - Constructor for class jargs.gnu.CmdLineParser.Option
 
CmdLineParser.Option.BooleanOption - Class in jargs.gnu
 
CmdLineParser.Option.BooleanOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.BooleanOption
 
CmdLineParser.Option.BooleanOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.BooleanOption
 
CmdLineParser.Option.DoubleOption - Class in jargs.gnu
An option that expects a floating-point value
CmdLineParser.Option.DoubleOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.DoubleOption
 
CmdLineParser.Option.DoubleOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.DoubleOption
 
CmdLineParser.Option.IntegerOption - Class in jargs.gnu
An option that expects an integer value
CmdLineParser.Option.IntegerOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.IntegerOption
 
CmdLineParser.Option.IntegerOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.IntegerOption
 
CmdLineParser.Option.LongOption - Class in jargs.gnu
An option that expects a long integer value
CmdLineParser.Option.LongOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.LongOption
 
CmdLineParser.Option.LongOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.LongOption
 
CmdLineParser.Option.StringOption - Class in jargs.gnu
An option that expects a string value
CmdLineParser.Option.StringOption(char, String) - Constructor for class jargs.gnu.CmdLineParser.Option.StringOption
 
CmdLineParser.Option.StringOption(String) - Constructor for class jargs.gnu.CmdLineParser.Option.StringOption
 
CmdLineParser.OptionException - Exception in jargs.gnu
Base class for exceptions that may be thrown when options are parsed
CmdLineParser.UnknownOptionException - Exception in jargs.gnu
Thrown when the parsed command-line contains an option that is not recognised.
CmdLineParser.UnknownSuboptionException - Exception in jargs.gnu
Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one is unknown.
CmdLineParserTestCase - Class in jargs.test.gnu
 
CmdLineParserTestCase(String) - Constructor for class jargs.test.gnu.CmdLineParserTestCase
 
CustomOptionTest - Class in jargs.examples.gnu
 
CustomOptionTest() - Constructor for class jargs.examples.gnu.CustomOptionTest
 
CustomOptionTest.ShortDateOption - Class in jargs.examples.gnu
A custom type of command line option corresponding to a short date value, e.g.
CustomOptionTest.ShortDateOption(char, String) - Constructor for class jargs.examples.gnu.CustomOptionTest.ShortDateOption
 
CustomOptionTestCase - Class in jargs.test.gnu
 
CustomOptionTestCase(String) - Constructor for class jargs.test.gnu.CustomOptionTestCase
 
CustomOptionTestCase.ShortDateOption - Class in jargs.test.gnu
 
CustomOptionTestCase.ShortDateOption(char, String) - Constructor for class jargs.test.gnu.CustomOptionTestCase.ShortDateOption
 

G

getOption() - Method in exception jargs.gnu.CmdLineParser.IllegalOptionValueException
 
getOptionChar() - Method in exception jargs.gnu.CmdLineParser.NotFlagException
 
getOptionName() - Method in exception jargs.gnu.CmdLineParser.UnknownOptionException
 
getOptionValue(CmdLineParser.Option) - Method in class jargs.gnu.CmdLineParser
Equivalent to getOptionValue(o, null).
getOptionValue(CmdLineParser.Option, Object) - Method in class jargs.gnu.CmdLineParser
 
getOptionValues(CmdLineParser.Option) - Method in class jargs.gnu.CmdLineParser
 
getRemainingArgs() - Method in class jargs.gnu.CmdLineParser
 
getSuboption() - Method in exception jargs.gnu.CmdLineParser.UnknownSuboptionException
 
getValue() - Method in exception jargs.gnu.CmdLineParser.IllegalOptionValueException
 
getValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option
 

J

jargs.examples.gnu - package jargs.examples.gnu
 
jargs.gnu - package jargs.gnu
 
jargs.test.gnu - package jargs.test.gnu
 

L

longForm() - Method in class jargs.gnu.CmdLineParser.Option
 

M

main(String[]) - Static method in class jargs.examples.gnu.AutoHelpParser
 
main(String[]) - Static method in class jargs.examples.gnu.CustomOptionTest
 
main(String[]) - Static method in class jargs.examples.gnu.OptionParserSubclassTest
 
main(String[]) - Static method in class jargs.examples.gnu.OptionTest
 

O

OptionParserSubclassTest - Class in jargs.examples.gnu
 
OptionParserSubclassTest() - Constructor for class jargs.examples.gnu.OptionParserSubclassTest
 
OptionTest - Class in jargs.examples.gnu
 
OptionTest() - Constructor for class jargs.examples.gnu.OptionTest
 

P

parse(String[]) - Method in class jargs.gnu.CmdLineParser
Extract the options and non-option arguments from the given list of command-line arguments.
parse(String[], Locale) - Method in class jargs.gnu.CmdLineParser
Extract the options and non-option arguments from the given list of command-line arguments.
parseValue(String, Locale) - Method in class jargs.examples.gnu.CustomOptionTest.ShortDateOption
 
parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option.DoubleOption
 
parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option.IntegerOption
 
parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option.LongOption
 
parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option
Override to extract and convert an option value passed on the command-line
parseValue(String, Locale) - Method in class jargs.gnu.CmdLineParser.Option.StringOption
 
parseValue(String, Locale) - Method in class jargs.test.gnu.CustomOptionTestCase.ShortDateOption
 
printUsage() - Method in class jargs.examples.gnu.AutoHelpParser
 

S

shortForm() - Method in class jargs.gnu.CmdLineParser.Option
 
suite() - Static method in class jargs.test.gnu.AllTests
 

T

testBadFormat() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testCombinedFlags() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testCustomOption() - Method in class jargs.test.gnu.CustomOptionTestCase
 
testDefaults() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testDetachedOption() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testExplictlyTerminatedOptions() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testGetOptionValues() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testIllegalCustomOption() - Method in class jargs.test.gnu.CustomOptionTestCase
 
testLocale() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testMissingValueForStringOption() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testMultipleUses() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testResetBetweenParse() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testStandardOptions() - Method in class jargs.test.gnu.CmdLineParserTestCase
 
testWhitespaceValueForStringOption() - Method in class jargs.test.gnu.CmdLineParserTestCase
 

W

wantsValue() - Method in class jargs.gnu.CmdLineParser.Option
Tells whether or not this option wants a value

A C G J L M O P S T W
For updates and more see jargs.sourceforge.net

Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.