com.satline.util.options
Class IntegerOption

java.lang.Object
  extended by com.satline.util.options.Option
      extended by com.satline.util.options.IntegerOption

public class IntegerOption
extends Option

Author:
Teubner

Constructor Summary
IntegerOption(java.lang.String longName, char shortName, int defaultValue)
           
 
Method Summary
 int getValue()
           
 void setBoolean(boolean value)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerOption

public IntegerOption(java.lang.String longName,
                     char shortName,
                     int defaultValue)
Method Detail

setValue

public void setValue(java.lang.String value)
              throws OptionException
Specified by:
setValue in class Option
Throws:
OptionException

setBoolean

public void setBoolean(boolean value)
                throws OptionException
Specified by:
setBoolean in class Option
Throws:
OptionException

getValue

public int getValue()
Returns:
Returns the value.


Copyright © 2007 null. All Rights Reserved.