Package org.kohsuke.args4j.spi
package org.kohsuke.args4j.spi
Classes for extending the behavior of args4j.
-
ClassDescriptionBase class for the @Option and @Argument implementation classes.Implementation of @Argument so we can instantiate it.Boolean
OptionHandler
.The ConfigElement is an <option> or <argument> tag in the xml configuration file.PartialOptionHandler
implementation that takes a single value to the option, which is then gets split into individual tokens using fixed delimiter.EnumOptionHandler<T extends Enum<T>>BooleanOptionHandler
that (unlike the standardBooleanOptionHandler
allows values to be set to false explicitly (using e.g.Getter<T>Interface that can be instantiated to get default values.OptionHandler
that parses MAC address to byte[] of length 6.Parses options into aMap
.Takes a classpath like option ("-cp a.jar;b.jar;c") and maps them to a collection ofFile
.Takes a classpath like option ("-cp a.jar;b.jar;c") and maps them to a collection ofPath
.OptionHandler which handles an option with exactly one argument, like "-foo bar".Code that parses operands of an option into Java.Implementation of @Option so we can instantiate it.List of arguments.Takes a single argument to the option and maps that toPath
.A regex option handler.Eagerly grabs all the arguments.Setter<T>Abstraction of the value setter.Factory ofSetter
s.OptionHandler
for the option terminator --.AnOptionHandler
for greedily mapping a list of tokens into a collection ofString
s (such asString[]
,List<String>
, etc.).StringOptionHandler
.Specifies a single sub-command.OptionHandler
used withArgument
for parsing typical "sub-command" pattern.Collection ofSubCommand
s that define possible sub-commands.