Uses of Interface
joptsimple.OptionDescriptor
Packages that use OptionDescriptor
-
Uses of OptionDescriptor in joptsimple
Classes in joptsimple that implement OptionDescriptorModifier and TypeClassDescriptionclass(package private) classRepresents the"-W"form of long option specification.classSpecification of an option that accepts an argument.(package private) classA specification for an option that does not accept arguments.classSpecification of a command line's non-option arguments.(package private) classSpecification of an option that accepts an optional argument.classAllows callers to specify whether a given option accepts arguments (required or optional).(package private) classSpecification of an option that accepts a required argument.Methods in joptsimple that return OptionDescriptorModifier and TypeMethodDescriptionprotected 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 OptionDescriptorModifier and TypeMethodDescriptionprotected 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 OptionDescriptorModifier and TypeMethodDescriptionprotected 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.BuiltinHelpFormatter.format(Map<String, ? extends OptionDescriptor> options) Produces help text, given a set of option descriptors.HelpFormatter.format(Map<String, ? extends OptionDescriptor> options) Produces help text, given a set of option descriptors.protected final booleanBuiltinHelpFormatter.hasRequiredOption(Collection<? extends OptionDescriptor> options) Tells whether the given option descriptors contain a "required" option.