Uses of Class
joptsimple.OptionSet
Packages that use OptionSet
-
Uses of OptionSet in joptsimple
Methods in joptsimple that return OptionSetModifier and TypeMethodDescriptionParses the given command line arguments according to the option specifications given to the parser.Methods in joptsimple with parameters of type OptionSetModifier and TypeMethodDescriptionprotected void
ArgumentAcceptingOptionSpec.addArguments
(OptionSet detectedOptions, String detectedArgument) protected void
AlternativeLongOptionSpec.detectOptionArgument
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions) protected abstract void
ArgumentAcceptingOptionSpec.detectOptionArgument
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions) protected void
OptionalArgumentOptionSpec.detectOptionArgument
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions) protected void
RequiredArgumentOptionSpec.detectOptionArgument
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions) private void
OptionParser.ensureAllowedOptions
(OptionSet options) private void
OptionParser.ensureRequiredOptions
(OptionSet options) protected abstract void
OptionParserState.handleArgument
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions) (package private) void
OptionParser.handleLongOptionToken
(String candidate, ArgumentList arguments, OptionSet detected) (package private) void
OptionParser.handleNonOptionArgument
(String candidate, ArgumentList arguments, OptionSet detectedOptions) (package private) abstract void
AbstractOptionSpec.handleOption
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions, String detectedArgument) (package private) final void
ArgumentAcceptingOptionSpec.handleOption
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions, String detectedArgument) (package private) void
NoArgumentOptionSpec.handleOption
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions, String detectedArgument) (package private) void
NonOptionArgumentSpec.handleOption
(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions, String detectedArgument) private void
OptionalArgumentOptionSpec.handleOptionArgument
(OptionParser parser, OptionSet detectedOptions, ArgumentList arguments) private void
OptionParser.handleShortOptionCluster
(String candidate, ArgumentList arguments, OptionSet detected) (package private) void
OptionParser.handleShortOptionToken
(String candidate, ArgumentList arguments, OptionSet detected) private boolean
OptionParser.isHelpOptionPresent
(OptionSet options) private List<AbstractOptionSpec<?>>
OptionParser.missingRequiredOptions
(OptionSet options) private boolean
OptionParser.optionsHasAnyOf
(OptionSet options, Collection<OptionSpec<?>> specs) private List<AbstractOptionSpec<?>>
OptionParser.unavailableOptions
(OptionSet options) final V
Gives the argument associated with the given option in the given set of detected options.Gives any arguments associated with the given option in the given set of detected options.