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:
- OptionSpec<V>
class RequiredArgumentOptionSpec<V>
- extends ArgumentAcceptingOptionSpec<V>
Specification of an option that accepts a required argument.
- Version:
- $Id: RequiredArgumentOptionSpec.java,v 1.14 2009/03/06 20:35:08 pholser Exp $
- Author:
- Paul Holser
| Methods inherited from class joptsimple.ArgumentAcceptingOptionSpec |
acceptsArguments, addArguments, argumentDescription, canConvertArgument, convert, describedAs, equals, handleOption, hashCode, isArgumentOfNumberType, ofType, requiresArgument, typeIndicator, withValuesConvertedBy, withValuesSeparatedBy |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RequiredArgumentOptionSpec
RequiredArgumentOptionSpec(java.lang.String option)
RequiredArgumentOptionSpec
RequiredArgumentOptionSpec(java.util.Collection<java.lang.String> options,
java.lang.String description)
detectOptionArgument
protected void detectOptionArgument(OptionParser parser,
ArgumentList arguments,
OptionSet detectedOptions)
- Specified by:
detectOptionArgument in class ArgumentAcceptingOptionSpec<V>
accept
void accept(OptionSpecVisitor visitor)
- Specified by:
accept in class AbstractOptionSpec<V>