public abstract class ArgHandlerString extends ArgHandler
EMPTY| Constructor and Description |
|---|
ArgHandlerString() |
| Modifier and Type | Method and Description |
|---|---|
int |
handle(String[] args,
int startIndex)
Attempts to process one flag or "extra" command-line argument (that appears
without a flag).
|
abstract boolean |
setString(String str) |
getDefaultArgs, getPurpose, getTag, getTagArgs, isRequired, isUndocumentedpublic int handle(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 abstract boolean setString(String str)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.