Package joptsimple
Class RequiredArgumentOptionSpec<V>
- java.lang.Object
-
- joptsimple.AbstractOptionSpec<V>
-
- joptsimple.ArgumentAcceptingOptionSpec<V>
-
- joptsimple.RequiredArgumentOptionSpec<V>
-
- Type Parameters:
V
- represents the type of the arguments this option accepts
- All Implemented Interfaces:
OptionDescriptor
,OptionSpec<V>
class RequiredArgumentOptionSpec<V> extends ArgumentAcceptingOptionSpec<V>
Specification of an option that accepts a required argument.
-
-
Constructor Summary
Constructors Constructor Description RequiredArgumentOptionSpec(java.lang.String option)
RequiredArgumentOptionSpec(java.util.List<java.lang.String> options, java.lang.String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
detectOptionArgument(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions)
-
Methods inherited from class joptsimple.ArgumentAcceptingOptionSpec
acceptsArguments, addArguments, argumentDescription, argumentTypeIndicator, canConvertArgument, convert, defaultsTo, defaultsTo, defaultValues, describedAs, equals, handleOption, hashCode, isArgumentOfNumberType, isRequired, ofType, required, requiresArgument, withValuesConvertedBy, withValuesSeparatedBy, withValuesSeparatedBy
-
Methods inherited from class joptsimple.AbstractOptionSpec
argumentTypeIndicatorFrom, convertWith, description, forHelp, isForHelp, options, representsNonOptions, toString, value, values
-
-
-
-
Method Detail
-
detectOptionArgument
protected void detectOptionArgument(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions)
- Specified by:
detectOptionArgument
in classArgumentAcceptingOptionSpec<V>
-
-