Top Description Constructors Methods
jdk.internal.joptsimple

pack-priv Class RequiredArgumentOptionSpec<V>

extends ArgumentAcceptingOptionSpec<V>
Class Inheritance
Type Parameters
<V>
represents the type of the arguments this option accepts
Imports
java.util.List

Specification of an option that accepts a required argument.
Author
Paul Holser

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
Inherited from jdk.internal.joptsimple.ArgumentAcceptingOptionSpec:
acceptsArgumentsaddArgumentsargumentDescriptionargumentTypeIndicatorcanConvertArgumentconvertdefaultsTodefaultsTodefaultValuesdescribedAsequalshandleOptionhashCodeisArgumentOfNumberTypeisRequiredofTyperequiredrequiresArgumentwithValuesConvertedBywithValuesSeparatedBywithValuesSeparatedBy

Constructor Detail

RequiredArgumentOptionSpecback to summary
pack-priv RequiredArgumentOptionSpec(String option)
RequiredArgumentOptionSpecback to summary
pack-priv RequiredArgumentOptionSpec(List<String> options, String description)

Method Detail

detectOptionArgumentback to summary
protected void detectOptionArgument(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions)

Implements abstract jdk.internal.joptsimple.ArgumentAcceptingOptionSpec.detectOptionArgument.

Annotations
@Override