dsto.dfc.commandline
Class BooleanOption

java.lang.Object
  extended by dsto.dfc.commandline.Option
      extended by dsto.dfc.commandline.BooleanOption

public class BooleanOption
extends Option

A simple kind of option that handles toggled options. ie either on or off.


Field Summary
 
Fields inherited from class dsto.dfc.commandline.Option
value
 
Constructor Summary
BooleanOption(char shortForm, String longForm)
           
 
Method Summary
 Object getValue()
           
 
Methods inherited from class dsto.dfc.commandline.Option
getValue, longForm, parseValue, setValue, shortForm, wantsValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanOption

public BooleanOption(char shortForm,
                     String longForm)
Method Detail

getValue

public Object getValue()
Overrides:
getValue in class Option


Copyright © 2008 Commonwealth of Australia