|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.util.tools.ArgHandler com.google.gwt.util.tools.ArgHandlerInt
public abstract class ArgHandlerInt
Argument handler for flags that take an integer as their parameter.
Constructor Summary | |
---|---|
ArgHandlerInt()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class com.google.gwt.util.tools.ArgHandler |
---|
getDefaultArgs, getHelpTag, getPurpose, getTag, getTagArgs, getTags, isExperimental, isUndocumented |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArgHandlerInt()
Method Detail |
---|
public int handle(java.lang.String[] args, int startIndex)
ArgHandler
handle
in class ArgHandler
args
- 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 ArgHandler
public abstract void setInt(int value)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |