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.PartialOptionHandlerimplementation that takes a single value to the option, which is then gets split into individual tokens using fixed delimiter.EnumOptionHandler<T extends Enum<T>>BooleanOptionHandlerthat (unlike the standardBooleanOptionHandlerallows values to be set to false explicitly (using e.g.Getter<T>Interface that can be instantiated to get default values.OptionHandlerthat 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 ofSetters.OptionHandlerfor the option terminator --.AnOptionHandlerfor greedily mapping a list of tokens into a collection ofStrings (such asString[],List<String>, etc.).StringOptionHandler.Specifies a single sub-command.OptionHandlerused withArgumentfor parsing typical "sub-command" pattern.Collection ofSubCommands that define possible sub-commands.