Uses of Class
joptsimple.ArgumentAcceptingOptionSpec
Packages that use ArgumentAcceptingOptionSpec
-
Uses of ArgumentAcceptingOptionSpec in joptsimple
Methods in joptsimple that return ArgumentAcceptingOptionSpecModifier and TypeMethodDescriptionArgumentAcceptingOptionSpec.defaultsTo
(V[] values) Specifies a set of default values for the argument of the option that this spec represents.final ArgumentAcceptingOptionSpec<V>
ArgumentAcceptingOptionSpec.defaultsTo
(V value, V... values) Specifies a set of default values for the argument of the option that this spec represents.final ArgumentAcceptingOptionSpec<V>
ArgumentAcceptingOptionSpec.describedAs
(String description) Specifies a description for the argument of the option that this spec represents.final <T> ArgumentAcceptingOptionSpec<T>
Specifies a type to which arguments of this spec's option are to be converted.ArgumentAcceptingOptionSpec.required()
Marks this option as required.OptionSpecBuilder.withOptionalArg()
Informs an option parser that this builder's option accepts an optional argument.OptionSpecBuilder.withRequiredArg()
Informs an option parser that this builder's option requires an argument.final <T> ArgumentAcceptingOptionSpec<T>
ArgumentAcceptingOptionSpec.withValuesConvertedBy
(ValueConverter<T> aConverter) Specifies a converter to use to translate arguments of this spec's option into Java objects.final ArgumentAcceptingOptionSpec<V>
ArgumentAcceptingOptionSpec.withValuesSeparatedBy
(char separator) Specifies a value separator for the argument of the option that this spec represents.final ArgumentAcceptingOptionSpec<V>
ArgumentAcceptingOptionSpec.withValuesSeparatedBy
(String separator) Specifies a value separator for the argument of the option that this spec represents.