static Class<?> |
TypeHandler.createClass(String classname) |
Returns the class whose name is classname .
|
static Number |
TypeHandler.createNumber(String str) |
Create a number from a String.
|
static Object |
TypeHandler.createObject(String classname) |
Create an Object from the classname and empty constructor.
|
static URL |
TypeHandler.createURL(String str) |
Returns the URL represented by str .
|
static Object |
TypeHandler.createValue(String str,
Class<?> clazz) |
Returns the Object of type clazz
with the value of str .
|
static Object |
TypeHandler.createValue(String str,
Object obj) |
Returns the Object of type obj
with the value of str .
|
protected abstract String[] |
Parser.flatten(Options opts,
String[] arguments,
boolean stopAtNonOption) |
Deprecated.
Subclasses must implement this method to reduce
the arguments that have been passed to the parse method.
|
protected String[] |
PosixParser.flatten(Options options,
String[] arguments,
boolean stopAtNonOption) |
Deprecated.
|
Object |
CommandLine.getParsedOptionValue(String opt) |
Return a version of this Option converted to a particular type.
|
protected void |
DefaultParser.handleConcatenatedOptions(String token) |
Breaks token into its constituent parts
using the following algorithm.
|
CommandLine |
CommandLineParser.parse(Options options,
String[] arguments) |
Parse the arguments according to the specified options.
|
CommandLine |
CommandLineParser.parse(Options options,
String[] arguments,
boolean stopAtNonOption) |
Parse the arguments according to the specified options.
|
CommandLine |
DefaultParser.parse(Options options,
String[] arguments) |
|
CommandLine |
DefaultParser.parse(Options options,
String[] arguments,
boolean stopAtNonOption) |
|
CommandLine |
DefaultParser.parse(Options options,
String[] arguments,
Properties properties) |
Parse the arguments according to the specified options and properties.
|
CommandLine |
DefaultParser.parse(Options options,
String[] arguments,
Properties properties,
boolean stopAtNonOption) |
Parse the arguments according to the specified options and properties.
|
CommandLine |
Parser.parse(Options options,
String[] arguments) |
Deprecated.
Parses the specified arguments based
on the specified Options .
|
CommandLine |
Parser.parse(Options options,
String[] arguments,
boolean stopAtNonOption) |
Deprecated.
Parses the specified arguments
based on the specified Options .
|
CommandLine |
Parser.parse(Options options,
String[] arguments,
Properties properties) |
Deprecated.
Parse the arguments according to the specified options and properties.
|
CommandLine |
Parser.parse(Options options,
String[] arguments,
Properties properties,
boolean stopAtNonOption) |
Deprecated.
Parse the arguments according to the specified options and
properties.
|
void |
Parser.processArgs(Option opt,
ListIterator<String> iter) |
Deprecated.
Process the argument values for the specified Option
opt using the values retrieved from the
specified iterator iter .
|
protected void |
Parser.processOption(String arg,
ListIterator<String> iter) |
Deprecated.
Process the Option specified by arg using the values
retrieved from the specified iterator iter .
|
protected void |
Parser.processProperties(Properties properties) |
Deprecated.
Sets the values of Options using the values in properties .
|