Package | Description |
---|---|
org.kohsuke.args4j |
Core classes of the Args4J command line parser.
|
org.kohsuke.args4j.spi |
Classes for extending the behavior of args4j.
|
Modifier and Type | Method and Description |
---|---|
void |
CmdLineParser.parseArgument(Collection<String> args)
|
void |
CmdLineParser.parseArgument(String... args)
Parses the command line arguments and set them to the option bean
given in the constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MapOptionHandler.addToMap(String argument,
Map m)
Encapsulates how a single string argument gets converted into key and value.
|
void |
MethodSetter.addValue(Object value) |
void |
Setter.addValue(T value)
Adds/sets a value to the property of the option bean.
|
protected int |
SubCommandHandler.fallback(String subCmd) |
String |
Parameters.getParameter(int idx)
Gets the additional parameter to this option.
|
protected java.nio.file.Path |
PathOptionHandler.parse(String argument) |
protected InetAddress |
InetAddressOptionHandler.parse(String argument) |
protected UUID |
UuidOptionHandler.parse(String argument) |
protected File |
FileOptionHandler.parse(String argument) |
protected Character |
CharOptionHandler.parse(String argument) |
protected abstract T |
OneArgumentOptionHandler.parse(String argument)
Parses a string to a real value of Type <T>.
|
int |
StringOptionHandler.parseArguments(Parameters params) |
abstract int |
OptionHandler.parseArguments(Parameters params)
Called if the option that this owner recognizes is found.
|
int |
RestOfArgumentsHandler.parseArguments(Parameters parameters) |
int |
URIOptionHandler.parseArguments(Parameters params) |
int |
MacAddressOptionHandler.parseArguments(Parameters params) |
int |
StringArrayOptionHandler.parseArguments(Parameters params)
Tries to parse
String[] argument from Parameters . |
int |
BooleanOptionHandler.parseArguments(Parameters params) |
int |
SubCommandHandler.parseArguments(Parameters params) |
int |
MapOptionHandler.parseArguments(Parameters params) |
int |
ExplicitBooleanOptionHandler.parseArguments(Parameters params) |
int |
DelimitedOptionHandler.parseArguments(Parameters params) |
int |
OneArgumentOptionHandler.parseArguments(Parameters params) |
int |
PatternOptionHandler.parseArguments(Parameters params) |
int |
StopOptionHandler.parseArguments(Parameters params) |
int |
URLOptionHandler.parseArguments(Parameters params) |
int |
EnumOptionHandler.parseArguments(Parameters params) |
protected Object |
SubCommandHandler.subCommand(SubCommand c,
Parameters params) |
Copyright © 2003-2016 Kohsuke Kawaguchi. All Rights Reserved.