joptsimple
Class AlternativeLongOptionSpec

java.lang.Object
  extended by joptsimple.OptionSpec
      extended by joptsimple.ArgumentAcceptingOptionSpec
          extended by joptsimple.AlternativeLongOptionSpec

 class AlternativeLongOptionSpec
extends ArgumentAcceptingOptionSpec

Represents the "-W" form of long option specification.

Since:
1.0
Version:
$Id: AlternativeLongOptionSpec.java,v 1.2 2008/04/08 03:20:18 pholser Exp $
Author:
Paul Holser

Constructor Summary
AlternativeLongOptionSpec()
           
 
Method Summary
(package private)  void accept(OptionSpecVisitor visitor)
           
protected  void detectOptionArgument(OptionParser parser, ArgumentList arguments, OptionSet detectedOptions)
           
 
Methods inherited from class joptsimple.ArgumentAcceptingOptionSpec
acceptsArguments, addArguments, argumentDescription, argumentType, canConvertArgument, convert, describedAs, equals, handleOption, hashCode, isArgumentOfNumberType, ofType, requiresArgument, withValuesSeparatedBy
 
Methods inherited from class joptsimple.OptionSpec
description, options
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlternativeLongOptionSpec

AlternativeLongOptionSpec()
Method Detail

detectOptionArgument

protected void detectOptionArgument(OptionParser parser,
                                    ArgumentList arguments,
                                    OptionSet detectedOptions)
Specified by:
detectOptionArgument in class ArgumentAcceptingOptionSpec

accept

void accept(OptionSpecVisitor visitor)
Specified by:
accept in class OptionSpec