Package joptsimple
-
Interface Summary Interface Description HelpFormatter Represents objects charged with taking a set of option descriptions and producing some help text from them.OptionDeclarer Trains the option parser.OptionDescriptor Describes options that an option parser recognizes, in ways that might be useful to help screens.OptionSpec<V> Describes options that an option parser recognizes.ValueConverter<V> Instances of this interface are used to convert arguments of options into specific Java types. -
Class Summary Class Description AbstractOptionSpec<V> ArgumentAcceptingOptionSpec<V> Specification of an option that accepts an argument.BuiltinHelpFormatter A help formatter that allows configuration of overall row width and column separator width.NonOptionArgumentSpec<V> Specification of a command line's non-option arguments.OptionParser Parses command line arguments, using a syntax that attempts to take from the best of POSIXgetopt()
and GNUgetopt_long()
.OptionSet Representation of a group of detected command line options, their arguments, and non-option arguments.OptionSpecBuilder Allows callers to specify whether a given option accepts arguments (required or optional). -
Exception Summary Exception Description OptionException Thrown when a problem occurs during option parsing.ValueConversionException Thrown byValueConverter
s when problems occur in converting string values to other Java types.