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>classArgumentAcceptingOptionSpec<V>Specification of an option that accepts an argument.classNonOptionArgumentSpec<V>Specification of a command line's non-option arguments.classOptionSpecBuilderAllows callers to specify whether a given option accepts arguments (required or optional).Methods in joptsimple that return OptionDescriptor Modifier and Type Method Description protected OptionDescriptorBuiltinHelpFormatter. findAndRemoveNonOptionsSpec(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 StringBuiltinHelpFormatter. createDescriptionDisplay(OptionDescriptor descriptor)Gives a string representing a description of the option with the given descriptor.protected StringBuiltinHelpFormatter. createNonOptionArgumentsDisplay(OptionDescriptor nonOptionDescriptor)Creates a non-options argument help string.protected StringBuiltinHelpFormatter. createOptionDisplay(OptionDescriptor descriptor)Creates a string for how the given option descriptor is to be represented in help.protected 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(StringBuilder buffer, OptionDescriptor nonOptions)Appends help for the given non-option arguments descriptor to the given buffer.protected voidBuiltinHelpFormatter. maybeAppendOptionInfo(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(Collection<? extends OptionDescriptor> options)Adds help row headers for option help columns.protected voidBuiltinHelpFormatter. addNonOptionsDescription(Collection<? extends OptionDescriptor> options)Adds non-option arguments descriptions to the help output.protected voidBuiltinHelpFormatter. addOptions(Collection<? extends OptionDescriptor> options)Adds help rows for the given options.protected voidBuiltinHelpFormatter. addRows(Collection<? extends OptionDescriptor> options)Adds rows of help output for the given options.protected OptionDescriptorBuiltinHelpFormatter. findAndRemoveNonOptionsSpec(Collection<? extends OptionDescriptor> options)Finds the non-option arguments descriptor in the given collection, removes it, and returns it.StringBuiltinHelpFormatter. format(Map<String,? extends OptionDescriptor> options)Produces help text, given a set of option descriptors.StringHelpFormatter. format(Map<String,? extends OptionDescriptor> options)Produces help text, given a set of option descriptors.protected booleanBuiltinHelpFormatter. hasRequiredOption(Collection<? extends OptionDescriptor> options)Tells whether the given option descriptors contain a "required" option.
-