Package joptsimple
package joptsimple
-
ClassDescriptionRepresents the
"-W"
form of long option specification.Specification of an option that accepts an argument.Wrapper for an array of command line arguments.A help formatter that allows configuration of overall row width and column separator width.Represents objects charged with taking a set of option descriptions and producing some help text from them.Thrown when the option parser is asked to recognize an option with illegal characters in it.Thrown when options marked as required are not specified on the command line.Thrown when asking anOptionSet
for a single argument of an option when many have been specified.A specification for an option that does not accept arguments.Specification of a command line's non-option arguments.Specification of an option that accepts an optional argument.Thrown when a problem occurs converting an argument of an option fromString
to another type.Trains the option parser.Describes options that an option parser recognizes, in ways that might be useful to help screens.Thrown when a problem occurs during option parsing.Thrown when the option parser discovers options that require an argument, but are missing an argument.Parses command line arguments, using a syntax that attempts to take from the best of POSIXgetopt()
and GNUgetopt_long()
.Abstraction of parser state; mostly serves to model how a parser behaves depending on whether end-of-options has been detected.Representation of a group of detected command line options, their arguments, and non-option arguments.OptionSpec<V>Describes options that an option parser recognizes.Allows callers to specify whether a given option accepts arguments (required or optional).Tokenizes a short option specification string.Can tell whether or not options are well-formed.Specification of an option that accepts a required argument.Thrown when options marked as allowed are specified on the command line, but the options they depend upon are present/not present.Thrown when an option parser refers to an option that is not in fact configured already on the parser.Thrown when the option parser encounters an unrecognized option.Thrown byValueConverter
s when problems occur in converting string values to other Java types.Instances of this interface are used to convert arguments of options into specific Java types.