Deprecated
Use com.mchange.v2.cmdline.CommandLineUtils instead
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String[] | |
| pack-priv String[] | |
| pack-priv String[] | |
| pack-priv char | |
| pack-priv String[] |
| Access | Constructor and Description |
|---|---|
| public | CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches, char switch_char)
|
| public | CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| pack-priv boolean | |
| public boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| private static boolean | |
| public int | |
| public String | |
| public String[] | findUnswitchedArgs()
Implements com. Order of args is guaranteed to be maintained. |
| argSwitches | back to summary |
|---|---|
| pack-priv String[] argSwitches | |
| argv | back to summary |
|---|---|
| pack-priv String[] argv | |
| reqSwitches | back to summary |
|---|---|
| pack-priv String[] reqSwitches | |
| switch_char | back to summary |
|---|---|
| pack-priv char switch_char | |
| validSwitches | back to summary |
|---|---|
| pack-priv String[] validSwitches | |
| CommandLineParserImpl | back to summary |
|---|---|
| public CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches, char switch_char) | |
| CommandLineParserImpl | back to summary |
|---|---|
| public CommandLineParserImpl(String[] argv, String[] validSwitches, String[] reqSwitches, String[] argSwitches) | |
| checkArgv | back to summary |
|---|---|
| public boolean checkArgv() Implements com. | |
| checkRequiredSwitches | back to summary |
|---|---|
| pack-priv boolean checkRequiredSwitches() | |
| checkSwitch | back to summary |
|---|---|
| public boolean checkSwitch(String sw) Implements com. | |
| checkSwitchArgSyntax | back to summary |
|---|---|
| pack-priv boolean checkSwitchArgSyntax() | |
| checkValidSwitches | back to summary |
|---|---|
| pack-priv boolean checkValidSwitches() | |
| contains | back to summary |
|---|---|
| private static boolean contains(String string, String[] list) | |
| findLastSwitched | back to summary |
|---|---|
| public int findLastSwitched() Implements com. | |
| findSwitchArg | back to summary |
|---|---|
| public String findSwitchArg(String sw) Implements com. | |
| findUnswitchedArgs | back to summary |
|---|---|
| public String[] findUnswitchedArgs() Implements com. Doc from com. Order of args is guaranteed to be maintained. | |