bpiwowar.argparser.handlers
Class StringConstructorHandler
java.lang.Object
bpiwowar.argparser.handlers.Handler
bpiwowar.argparser.handlers.GenericHandler
bpiwowar.argparser.handlers.GenericObjectsHandler
bpiwowar.argparser.handlers.StringConstructorHandler
public class StringConstructorHandler
- extends GenericObjectsHandler
This handler uses the string constructor of the target class
- Author:
- Benjamin Piwowarski
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringConstructorHandler
public StringConstructorHandler(Object object,
Field field,
Class<?> aClass)
throws InvalidHolderException
- Throws:
InvalidHolderException
process
protected Object process(ArgParser argParser,
StringScanner scanner)
throws StringScanException
- Overrides:
process
in class GenericObjectsHandler
- Throws:
StringScanException
Copyright © 2013. All Rights Reserved.