Modifier and Type | Interface and Description |
---|---|
public interface | HelpFormatter
Represents objects charged with taking a set of option descriptions and producing some help text from them. |
public interface | OptionDeclarer
Trains the option parser. |
public interface | OptionDescriptor
Describes options that an option parser recognizes, in ways that might be useful to help screens. |
public interface | OptionSpec<
represents the type of the arguments this option accepts V>Describes options that an option parser recognizes. |
public interface | ValueConverter<
constraint on the type of values being converted to V>Instances of this interface are used to convert arguments of options into specific Java types. |
Modifier and Type | Class and Description |
---|---|
public abstract class | |
pack-priv class | AlternativeLongOptionSpec
Represents the |
public abstract class | ArgumentAcceptingOptionSpec<
represents the type of the arguments this option accepts V>Specification of an option that accepts an argument. |
pack-priv class | ArgumentList
Wrapper for an array of command line arguments. |
public class | BuiltinHelpFormatter
A help formatter that allows configuration of overall row width and column separator width. |
pack-priv class | IllegalOptionSpecificationException
Thrown when the option parser is asked to recognize an option with illegal characters in it. |
pack-priv class | MissingRequiredOptionsException
Thrown when options marked as required are not specified on the command line. |
pack-priv class | MultipleArgumentsForOptionException
Thrown when asking an |
pack-priv class | NoArgumentOptionSpec
A specification for an option that does not accept arguments. |
public class | NonOptionArgumentSpec<
represents the type of the non-option arguments V>Specification of a command line's non-option arguments. |
pack-priv class | OptionalArgumentOptionSpec<
represents the type of the arguments this option accepts V>Specification of an option that accepts an optional argument. |
pack-priv class | OptionArgumentConversionException
Thrown when a problem occurs converting an argument of an option from |
public abstract class | OptionException
Thrown when a problem occurs during option parsing. |
pack-priv class | OptionMissingRequiredArgumentException
Thrown when the option parser discovers options that require an argument, but are missing an argument. |
public class | OptionParser
Parses command line arguments, using a syntax that attempts to take from the best of POSIX |
pack-priv abstract class | OptionParserState
Abstraction of parser state; mostly serves to model how a parser behaves depending on whether end-of-options has been detected. |
public class | OptionSet
Representation of a group of detected command line options, their arguments, and non-option arguments. |
public class | OptionSpecBuilder
Allows callers to specify whether a given option accepts arguments (required or optional). |
pack-priv class | OptionSpecTokenizer
Tokenizes a short option specification string. |
pack-priv class | ParserRules
Can tell whether or not options are well-formed. |
pack-priv class | RequiredArgumentOptionSpec<
represents the type of the arguments this option accepts V>Specification of an option that accepts a required argument. |
pack-priv class | UnavailableOptionException
Thrown when options marked as allowed are specified on the command line, but the options they depend upon are present/not present. |
pack-priv class | UnconfiguredOptionException
Thrown when an option parser refers to an option that is not in fact configured already on the parser. |
pack-priv class | UnrecognizedOptionException
Thrown when the option parser encounters an unrecognized option. |
public class | ValueConversionException
Thrown by |