bpiwowar.argparser.handlers
Class FloatingPointHandler

java.lang.Object
  extended by bpiwowar.argparser.handlers.Handler
      extended by bpiwowar.argparser.handlers.GenericHandler
          extended by bpiwowar.argparser.handlers.GenericObjectsHandler
              extended by bpiwowar.argparser.handlers.FloatingPointHandler
Direct Known Subclasses:
DoubleHandler, FloatHandler, PropertiesHandler

public abstract class FloatingPointHandler
extends GenericObjectsHandler

Author:
B. Piwowarski

Field Summary
 
Fields inherited from class bpiwowar.argparser.handlers.GenericObjectsHandler
nbExpectedValues
 
Fields inherited from class bpiwowar.argparser.handlers.GenericHandler
field, object
 
Constructor Summary
FloatingPointHandler(Object object, Field field)
           
 
Method Summary
 Limit getLimitChecker(StringScanner scanner)
          Gets a new limit checker
 
Methods inherited from class bpiwowar.argparser.handlers.GenericObjectsHandler
addValue, get, getAnnotation, getValue, newInstance, optionSet, parse, process, process
 
Methods inherited from class bpiwowar.argparser.handlers.Handler
add, getLimitChecker, getRangeChecker, isHelpOption, processAnnotations, setPrefix, updateRangeChecker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatingPointHandler

public FloatingPointHandler(Object object,
                            Field field)
Method Detail

getLimitChecker

public Limit getLimitChecker(StringScanner scanner)
                      throws IllegalArgumentException,
                             StringScanException
Description copied from class: Handler
Gets a new limit checker

Overrides:
getLimitChecker in class Handler
Returns:
a new limit checker
Throws:
StringScanException
IllegalArgumentException


Copyright © 2013. All Rights Reserved.