public abstract class ArgHandlerFile extends ArgHandler
| Constructor and Description |
|---|
ArgHandlerFile() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getDefaultArgs() |
java.lang.String[] |
getTagArgs()
A list of words representing the arguments in help text.
|
int |
handle(java.lang.String[] args,
int startIndex)
Attempts to process one flag or "extra" command-line argument (that appears
without a flag).
|
abstract void |
setFile(java.io.File file) |
getHelpTag, getPurpose, getTag, getTags, isExperimental, isRequired, isUndocumentedpublic java.lang.String[] getDefaultArgs()
getDefaultArgs in class ArgHandlerpublic java.lang.String[] getTagArgs()
ArgHandlergetTagArgs in class ArgHandlerpublic 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 abstract void setFile(java.io.File file)