All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary Annotation Types Summary Class Description AnnotationImpl Base class for the @Option and @Argument implementation classes.Argument Argument of the command line.ArgumentImpl Implementation of @Argument so we can instantiate it.BooleanOptionHandler BooleanOptionHandler
.ByteOptionHandler CharOptionHandler ClassParser Parser for analyzing Args4J annotations in the class hierarchy.CmdLineException Signals an error in the user input.CmdLineParser Command line argument owner.Config Metadataconfiguration.ConfigElement The ConfigElement is an <option> or <argument> tag in the xml configuration file.DelimitedOptionHandler<T> PartialOptionHandler
implementation that takes a single value to the option, which is then gets split into individual tokens using fixed delimiter.DoubleOptionHandler Double
OptionHandler
.EnumOptionHandler<T extends java.lang.Enum<T>> Enum
OptionHandler
.ExampleMode Deprecated. ExplicitBooleanOptionHandler BooleanOptionHandler
that (unlike the standardBooleanOptionHandler
allows values to be set to false explicitly (using e.g.FieldParser This metadata parser makes all field available to the CmdLineParser.FieldSetter Setter
that sets to aField
.FileOptionHandler File
OptionHandler
.FloatOptionHandler Getter<T> Interface that can be instantiated to get default values.IllegalAnnotationError Signals an incorrect use of args4j annotations.InetAddressOptionHandler InetAddress
OptionHandler
.IntOptionHandler Integer
OptionHandler
.Localizable A message that can be formatted with arguments and locale.LongOptionHandler MacAddressOptionHandler OptionHandler
that parses MAC address to byte[] of length 6.MapOptionHandler Parses options into aMap
.Messages MethodSetter Setter
that sets to aMethod
.MultiFileOptionHandler Takes a classpath like option ("-cp a.jar;b.jar;c") and maps them to a collection ofFile
.MultiPathOptionHandler Takes a classpath like option ("-cp a.jar;b.jar;c") and maps them to a collection ofPath
.NamedOptionDef Immutable run-time copy ofOption
annotation.OneArgumentOptionHandler<T> OptionHandler which handles an option with exactly one argument, like "-foo bar".Option Marks a field/setter that receives a command line switch value.OptionDef Run-time copy of the Option or Argument annotation.OptionHandler<T> Code that parses operands of an option into Java.OptionHandlerFilter SelectsOptionHandler
.OptionHandlerRegistry Manages the registration of option handlers.OptionHandlerRegistry.OptionHandlerFactory Provide custom logic for creatingOptionHandler
implementation.OptionImpl Implementation of @Option so we can instantiate it.Parameters List of arguments.ParserProperties Set of properties that controlsCmdLineParser
behaviours.PathOptionHandler Takes a single argument to the option and maps that toPath
.PatternOptionHandler A regex option handler.RestOfArgumentsHandler Eagerly grabs all the arguments.Setter<T> Abstraction of the value setter.Setters Factory ofSetter
s.ShortOptionHandler Starter Starter class which uses reflection to instantiate the business class, parse the command line parameters, sets the fields of the business class and doing the help message handling.StopOptionHandler OptionHandler
for the option terminator --.StringArrayOptionHandler AnOptionHandler
for greedily mapping a list of tokens into a collection ofString
s (such asString[]
,List<String>
, etc.).StringOptionHandler StringOptionHandler
.SubCommand Specifies a single sub-command.SubCommandHandler OptionHandler
used withArgument
for parsing typical "sub-command" pattern.SubCommands Collection ofSubCommand
s that define possible sub-commands.URIOptionHandler URI
OptionHandler
.URLOptionHandler URL
OptionHandler
.UuidOptionHandler UUID
OptionHandler
.XmlParser Parses an XML-file specifying the 'annotations'.