Uses of Interface
joptsimple.OptionDescriptor
-
Packages that use OptionDescriptor Package Description joptsimple -
-
Uses of OptionDescriptor in joptsimple
Classes in joptsimple that implement OptionDescriptor Modifier and Type Class Description classAbstractOptionSpec<V>(package private) classAlternativeLongOptionSpecRepresents the"-W"form of long option specification.classArgumentAcceptingOptionSpec<V>Specification of an option that accepts an argument.(package private) classNoArgumentOptionSpecA specification for an option that does not accept arguments.classNonOptionArgumentSpec<V>Specification of a command line's non-option arguments.(package private) classOptionalArgumentOptionSpec<V>Specification of an option that accepts an optional argument.classOptionSpecBuilderAllows callers to specify whether a given option accepts arguments (required or optional).(package private) classRequiredArgumentOptionSpec<V>Specification of an option that accepts a required argument.Methods in joptsimple that return OptionDescriptor Modifier and Type Method Description protected OptionDescriptorBuiltinHelpFormatter. findAndRemoveNonOptionsSpec(java.util.Collection<? extends OptionDescriptor> options)Finds the non-option arguments descriptor in the given collection, removes it, and returns it.Methods in joptsimple with parameters of type OptionDescriptor Modifier and Type Method Description protected java.lang.StringBuiltinHelpFormatter. createDescriptionDisplay(OptionDescriptor descriptor)Gives a string representing a description of the option with the given descriptor.protected java.lang.StringBuiltinHelpFormatter. createNonOptionArgumentsDisplay(OptionDescriptor nonOptionDescriptor)Creates a non-options argument help string.protected java.lang.StringBuiltinHelpFormatter. createOptionDisplay(OptionDescriptor descriptor)Creates a string for how the given option descriptor is to be represented in help.protected java.lang.StringBuiltinHelpFormatter. extractTypeIndicator(OptionDescriptor descriptor)Gives an indicator of the type of arguments of the option described by the given descriptor, for use in help.protected voidBuiltinHelpFormatter. maybeAppendNonOptionsDescription(java.lang.StringBuilder buffer, OptionDescriptor nonOptions)Appends help for the given non-option arguments descriptor to the given buffer.protected voidBuiltinHelpFormatter. maybeAppendOptionInfo(java.lang.StringBuilder buffer, OptionDescriptor descriptor)Appends additional info about the given option to the given buffer.protected booleanBuiltinHelpFormatter. shouldShowNonOptionArgumentDisplay(OptionDescriptor nonOptionDescriptor)Decides whether or not to show a non-option arguments help.Method parameters in joptsimple with type arguments of type OptionDescriptor Modifier and Type Method Description protected voidBuiltinHelpFormatter. addHeaders(java.util.Collection<? extends OptionDescriptor> options)Adds help row headers for option help columns.protected voidBuiltinHelpFormatter. addNonOptionsDescription(java.util.Collection<? extends OptionDescriptor> options)Adds non-option arguments descriptions to the help output.protected voidBuiltinHelpFormatter. addOptions(java.util.Collection<? extends OptionDescriptor> options)Adds help rows for the given options.protected voidBuiltinHelpFormatter. addRows(java.util.Collection<? extends OptionDescriptor> options)Adds rows of help output for the given options.protected OptionDescriptorBuiltinHelpFormatter. findAndRemoveNonOptionsSpec(java.util.Collection<? extends OptionDescriptor> options)Finds the non-option arguments descriptor in the given collection, removes it, and returns it.java.lang.StringBuiltinHelpFormatter. format(java.util.Map<java.lang.String,? extends OptionDescriptor> options)Produces help text, given a set of option descriptors.java.lang.StringHelpFormatter. format(java.util.Map<java.lang.String,? extends OptionDescriptor> options)Produces help text, given a set of option descriptors.protected booleanBuiltinHelpFormatter. hasRequiredOption(java.util.Collection<? extends OptionDescriptor> options)Tells whether the given option descriptors contain a "required" option.
-