Uses of Class
com.aspectran.shell.command.option.OptionParserException
Packages that use OptionParserException
Package
Description
A simple API for presenting, processing and validating a command line interface.
-
Uses of OptionParserException in com.aspectran.shell.command
Methods in com.aspectran.shell.command that throw OptionParserException -
Uses of OptionParserException in com.aspectran.shell.command.option
Subclasses of OptionParserException in com.aspectran.shell.command.optionModifier and TypeClassDescriptionclass
Thrown when more than one option in an option group has been provided.class
Exception thrown when an option can't be identified from a partial name.class
Thrown when a required option has not been provided.class
Thrown when an option requiring a value is not provided with a value.class
Exception thrown during parsing signalling an unrecognized option was seen.Methods in com.aspectran.shell.command.option that throw OptionParserExceptionModifier and TypeMethodDescription<T> T
ParsedOptions.getTypedValue
(char name) Return a version of thisOption
converted to a particular type.<T> T
ParsedOptions.getTypedValue
(Option option) Return a version of thisOption
converted to a particular type.<T> T
ParsedOptions.getTypedValue
(String name) Return a version of thisOption
converted to a particular type.DefaultOptionParser.parse
(Options options, String[] args, Properties properties) Parse the arguments according to the specified options and properties.DefaultOptionParser.parse
(Options options, String[] args, Properties properties, boolean skipParsingAtNonOption) Parse the arguments according to the specified options and properties.Parse the arguments according to the specified options.Parse the arguments according to the specified options.OptionParser.parse
(Options options, String[] args, Properties properties) Parse the arguments according to the specified options and properties.OptionParser.parse
(Options options, String[] args, Properties properties, boolean skipParsingAtNonOption) Parse the arguments according to the specified options and properties.