
public final class ArgHandlerScriptStyle extends ArgHandler
| Constructor and Description |
|---|
ArgHandlerScriptStyle(OptionScriptStyle option) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getDefaultArgs() |
String |
getPurpose() |
String |
getTag() |
String[] |
getTagArgs()
A list of words representing the arguments in help text.
|
int |
handle(String[] args,
int startIndex)
Attempts to process one flag or "extra" command-line argument (that appears
without a flag).
|
getHelpTag, getTags, isExperimental, isRequired, isUndocumentedpublic ArgHandlerScriptStyle(OptionScriptStyle option)
public String[] getDefaultArgs()
getDefaultArgs in class ArgHandlerpublic String getPurpose()
getPurpose in class ArgHandlerpublic String getTag()
getTag in class ArgHandlerpublic String[] getTagArgs()
ArgHandlergetTagArgs in class ArgHandlerpublic 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.Copyright © 2018. All rights reserved.