public abstract class ArgHandlerInt extends ArgHandler
| Constructor and Description |
|---|
ArgHandlerInt() |
| Modifier and Type | Method and Description |
|---|---|
int |
handle(java.lang.String[] args,
int startIndex)
Attempts to process one flag or "extra" command-line argument (that appears
without a flag).
|
boolean |
isRequired() |
abstract void |
setInt(int value) |
getDefaultArgs, getHelpTag, getPurpose, getTag, getTagArgs, getTags, isExperimental, isUndocumentedpublic int handle(java.lang.String[] args,
int startIndex)
ArgHandlerhandle in class ArgHandlerargs - the arguments passed in to main()startIndex - an index into args indicating the first argument to use.
If this is a handler for a flag argument. Otherwise it's the index of the
"extra" argument.public boolean isRequired()
isRequired in class ArgHandlerpublic abstract void setInt(int value)