|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbpiwowar.argparser.handlers.Handler
bpiwowar.argparser.handlers.GenericHandler
bpiwowar.argparser.handlers.GenericObjectsHandler
bpiwowar.argparser.handlers.IntegerCollectionHandler
public class IntegerCollectionHandler
Convert a comma separated list into an array
| Nested Class Summary | |
|---|---|
static interface |
IntegerCollectionHandler.Options
Used to give a separator different than the comma |
static class |
IntegerCollectionHandler.TypeChecker
|
| Field Summary |
|---|
| Fields inherited from class bpiwowar.argparser.handlers.GenericObjectsHandler |
|---|
nbExpectedValues |
| Fields inherited from class bpiwowar.argparser.handlers.GenericHandler |
|---|
field, object |
| Constructor Summary | |
|---|---|
IntegerCollectionHandler(Object object,
Field field)
|
|
| Method Summary | |
|---|---|
String |
getValue()
|
Object |
process(ArgParser argParser,
StringScanner scanner)
|
| 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 |
|---|
public IntegerCollectionHandler(Object object,
Field field)
| Method Detail |
|---|
public String getValue()
public Object process(ArgParser argParser,
StringScanner scanner)
throws StringScanException
process in class GenericObjectsHandlerStringScanException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||