- parseArgument
Parses the command line arguments and set them to the option bean given in the
constructor.
- <init>
Creates a new command line owner that parses arguments/options and set them into
the given object.
- printUsage
Prints the list of all the non-hidden options and their usages to the screen.
- setUsageWidth
Sets the width of the usage output.
- printExample
Formats a command line example into a string. This method produces a string like -d
-v -b. Thi - printSingleLineUsage
Prints a single-line usage to the screen.
- addArgument
Programmatically defines an argument (instead of reading it from annotations as
normal).
- addOption
Programmatically defines an option (instead of reading it from annotations as
normal).
- createOptionHandler
Creates an OptionHandler that handles the given Option annotation and the Setter
instance.
- registerHandler
Registers a user-defined OptionHandler class with args4j. This method allows
users to extend the beh
- getProperties
- stopOptionParsing
Signals the parser that parsing the options has finished. Everything seen after
this call is treated