A B C G L M N P S

A

addArgument(Argument) - Method in class com.charliedog.argv.ArgumentParser
Add a new argument to be taken into consideration during the next parse.
Argument - interface com.charliedog.argv.Argument.
Interface for arguments that may be registered and parsed by the ArgumentParser.
ArgumentParser - class com.charliedog.argv.ArgumentParser.
A parser for processing command line arguments.
ArgumentParser() - Constructor for class com.charliedog.argv.ArgumentParser
 

B

BooleanArgument - class com.charliedog.argv.BooleanArgument.
A Boolean argument for use with ArgumentParser.
BooleanArgument(String, String) - Constructor for class com.charliedog.argv.BooleanArgument
Construct a new boolean argument with the given flag and description.

C

com.charliedog.argv - package com.charliedog.argv
 

G

getDestination() - Method in class com.charliedog.argv.PairArgument
Return the destination value of this argument, which may be null.
getSource() - Method in class com.charliedog.argv.PairArgument
Return the source value of this argument, which may be null.
getValue() - Method in class com.charliedog.argv.StringArgument
Return the string value of this argument, which may be null.
getValue() - Method in class com.charliedog.argv.NumberArgument
Return the value of this argument, which may be null.
getValue() - Method in class com.charliedog.argv.ListArgument
Returns the list of values collected by this argument.
getValue() - Method in class com.charliedog.argv.BooleanArgument
Returns the boolean value of this argument.

L

ListArgument - class com.charliedog.argv.ListArgument.
A List argument for use with ArgumentParser.
ListArgument(String) - Constructor for class com.charliedog.argv.ListArgument
Initialize a new List argument with the given description.

M

main(String[]) - Static method in class com.charliedog.argv.ArgumentParser
Test driver.

N

NumberArgument - class com.charliedog.argv.NumberArgument.
A Number argument for use with ArgumentParser.
NumberArgument(String, BigDecimal, String) - Constructor for class com.charliedog.argv.NumberArgument
Initialize a new Number argument with the given flag, description, and default value.
NumberArgument(String, String) - Constructor for class com.charliedog.argv.NumberArgument
Initialize a new Number argument with the given flag and description but without a default value.

P

PairArgument - class com.charliedog.argv.PairArgument.
A Pair argument, for use with ArgumentParser.
PairArgument(String, String) - Constructor for class com.charliedog.argv.PairArgument
Initialize a new Pair argument.
parse(List) - Method in class com.charliedog.argv.PairArgument
Parsing method invoked by ArgumentParser.
parse(List) - Method in class com.charliedog.argv.StringArgument
Parsing method invoked by ArgumentParser.
parse(List) - Method in class com.charliedog.argv.NumberArgument
Parsing method invoked by ArgumentParser.
parse(List) - Method in class com.charliedog.argv.ListArgument
Parsing method invoked by ArgumentParser.
parse(List) - Method in class com.charliedog.argv.BooleanArgument
Parsing method invoked by ArgumentParser.
parse(List) - Method in interface com.charliedog.argv.Argument
Must check whether values begins with this argument.
parse(String[]) - Method in class com.charliedog.argv.ArgumentParser
Parses the given argument list according to all Arguments registered with this parser.
printUsage(PrintWriter) - Method in class com.charliedog.argv.PairArgument
Usage method invoked by ArgumentParser.
printUsage(PrintWriter) - Method in class com.charliedog.argv.StringArgument
Usage method invoked by ArgumentParser.
printUsage(PrintWriter) - Method in class com.charliedog.argv.NumberArgument
Usage method invoked by ArgumentParser.
printUsage(PrintWriter) - Method in class com.charliedog.argv.ListArgument
Usage method invoked by ArgumentParser.
printUsage(PrintWriter) - Method in class com.charliedog.argv.BooleanArgument
Usage method invoked by ArgumentParser.
printUsage(PrintWriter) - Method in class com.charliedog.argv.ArgumentParser
Dumps the usage of each registered argument to out.
printUsage(PrintWriter) - Method in interface com.charliedog.argv.Argument
Must write a description of the usage of this argument to out.

S

StringArgument - class com.charliedog.argv.StringArgument.
A String argument for use with ArgumentParser.
StringArgument(String, String) - Constructor for class com.charliedog.argv.StringArgument
Initialize a new String argument with the given flag and description but without a default value.
StringArgument(String, String, String) - Constructor for class com.charliedog.argv.StringArgument
Initialize a new String argument with the given flag, description, and default value.

A B C G L M N P S