public abstract class AbstractCommandLineSwitch extends Object implements CommandLineSwitch
CommandLineSwitches.| Constructor and Description |
|---|
AbstractCommandLineSwitch(Set<String> commandLineSwitches)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkConsumeSwitchArgs(String commandLineSwitch,
String[] followUpArgs)
Checks if the switch args can be consumed.
|
boolean |
supportsSwitch(String commandLineSwitch)
Indicates if this switch supports the provided String switch.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconsumeSwitch, getHelpText, getNumFollowUpArgspublic boolean supportsSwitch(String commandLineSwitch)
supportsSwitch in interface CommandLineSwitchcommandLineSwitch - the command line switchprotected void checkConsumeSwitchArgs(String commandLineSwitch, String[] followUpArgs) throws IllegalArgumentException
commandLineSwitch - the command line switchfollowUpArgs - the follow-up argumentsIllegalArgumentExceptionCopyright © 2012–2019 Drombler. All rights reserved.