bpiwowar.argparser.handlers
Class CharSetHandler

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.CharSetHandler

public class CharSetHandler
extends GenericObjectsHandler

The argument is a set of characters

Author:
Benjamin Piwowarski

Field Summary
 
Fields inherited from class bpiwowar.argparser.handlers.GenericObjectsHandler
nbExpectedValues
 
Fields inherited from class bpiwowar.argparser.handlers.GenericHandler
field, object
 
Constructor Summary
CharSetHandler(Object object, Field field)
           
 
Method Summary
protected  Object process(ArgParser argParser, String chars)
           
 
Methods inherited from class bpiwowar.argparser.handlers.GenericObjectsHandler
addValue, get, getAnnotation, getValue, newInstance, optionSet, parse, 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

CharSetHandler

public CharSetHandler(Object object,
                      Field field)
               throws InvalidHolderException
Throws:
InvalidHolderException
Method Detail

process

protected Object process(ArgParser argParser,
                         String chars)
                  throws StringScanException
Overrides:
process in class GenericObjectsHandler
Throws:
StringScanException


Copyright © 2013. All Rights Reserved.