bpiwowar.argparser.handlers
Class IntegerHandler

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.IntegerHandler
Direct Known Subclasses:
IntHandler, LongHandler

public abstract class IntegerHandler
extends GenericObjectsHandler

Author:
bpiwowar

Field Summary
 
Fields inherited from class bpiwowar.argparser.handlers.GenericObjectsHandler
nbExpectedValues
 
Fields inherited from class bpiwowar.argparser.handlers.GenericHandler
field, object
 
Constructor Summary
IntegerHandler(Object object, Field field)
           
 
Method Summary
protected  long scanInteger(StringScanner scanner)
           
 void setRadix(int radix)
           
 
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, 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

IntegerHandler

public IntegerHandler(Object object,
                      Field field)
Method Detail

setRadix

public void setRadix(int radix)

scanInteger

protected long scanInteger(StringScanner scanner)
                    throws StringScanException
Throws:
StringScanException


Copyright © 2013. All Rights Reserved.