bpiwowar.argparser.handlers
Class IntHandler
java.lang.Object
bpiwowar.argparser.handlers.Handler
bpiwowar.argparser.handlers.GenericHandler
bpiwowar.argparser.handlers.GenericObjectsHandler
bpiwowar.argparser.handlers.IntegerHandler
bpiwowar.argparser.handlers.IntHandler
public class IntHandler
- extends IntegerHandler
- Author:
- bpiwowar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntHandler
public IntHandler(Object object,
Field field)
process
public Object process(ArgParser argParser,
StringScanner scanner)
throws StringScanException,
IllegalArgumentValue
- Overrides:
process
in class GenericObjectsHandler
- Throws:
StringScanException
IllegalArgumentValue
getValue
public int getValue()
setValue
public void setValue(int value)
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.