|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ParseException in org.apache.commons.cli |
---|
Subclasses of ParseException in org.apache.commons.cli | |
---|---|
class |
AlreadySelectedException
Thrown when more than one option in an option group has been provided. |
class |
MissingArgumentException
Thrown when an option requiring an argument is not provided with an argument. |
class |
MissingOptionException
Thrown when a required option has not been provided. |
class |
UnrecognizedOptionException
Exception thrown during parsing signalling an unrecognized option was seen. |
Methods in org.apache.commons.cli that throw ParseException | |
---|---|
static java.lang.Class |
TypeHandler.createClass(java.lang.String classname)
Returns the class whose name is classname . |
static java.util.Date |
TypeHandler.createDate(java.lang.String str)
Returns the date represented by str . |
static java.io.File |
TypeHandler.createFile(java.lang.String str)
Returns the File represented by str . |
static java.io.File[] |
TypeHandler.createFiles(java.lang.String str)
Returns the File[] represented by str . |
static java.lang.Number |
TypeHandler.createNumber(java.lang.String str)
Create a number from a String. |
static java.lang.Object |
TypeHandler.createObject(java.lang.String classname)
Create an Object from the classname and empty constructor. |
static java.net.URL |
TypeHandler.createURL(java.lang.String str)
Returns the URL represented by str . |
static java.lang.Object |
TypeHandler.createValue(java.lang.String str,
java.lang.Class clazz)
Returns the Object of type clazz
with the value of str . |
static java.lang.Object |
TypeHandler.createValue(java.lang.String str,
java.lang.Object obj)
Returns the Object of type obj
with the value of str . |
java.lang.Object |
CommandLine.getParsedOptionValue(java.lang.String opt)
Return a version of this Option converted to a particular type. |
CommandLine |
Parser.parse(Options options,
java.lang.String[] arguments)
Parses the specified arguments based
on the specifed Options . |
CommandLine |
CommandLineParser.parse(Options options,
java.lang.String[] arguments)
Parse the arguments according to the specified options. |
CommandLine |
Parser.parse(Options options,
java.lang.String[] arguments,
boolean stopAtNonOption)
Parses the specified arguments
based on the specifed Options . |
CommandLine |
CommandLineParser.parse(Options options,
java.lang.String[] arguments,
boolean stopAtNonOption)
Parse the arguments according to the specified options. |
CommandLine |
Parser.parse(Options options,
java.lang.String[] arguments,
java.util.Properties properties)
Parse the arguments according to the specified options and properties. |
CommandLine |
Parser.parse(Options options,
java.lang.String[] arguments,
java.util.Properties properties,
boolean stopAtNonOption)
Parse the arguments according to the specified options and properties. |
void |
Parser.processArgs(Option opt,
java.util.ListIterator iter)
Process the argument values for the specified Option opt using the values retrieved from the
specified iterator iter . |
protected void |
Parser.processOption(java.lang.String arg,
java.util.ListIterator iter)
Process the Option specified by arg using the values
retrieved from the specfied iterator iter . |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |