public class GenericToolsDriver extends AbstractCommandLineMode
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
HELP_VALUES
Map to override help / default values.
|
| Constructor and Description |
|---|
GenericToolsDriver(String jarFilename) |
| Modifier and Type | Method and Description |
|---|---|
GenericToolsDriver |
configure(String[] argsVal)
Create the GenericToolsDriver object, parse argument(s).
|
void |
execute()
Execute the appropriate mode.
|
String[] |
getDynamicOptions() |
String |
getModeDescription()
Returns the mode description defined by subclasses.
|
String |
getModeName()
Returns the mode name defined by subclasses.
|
void |
printUsage(com.martiansoftware.jsap.JSAP jsapVal)
Display JSAP usage information (overrides the base version).
|
getJarFilename, getShortModeName, loadJsapFromResource, loadJsapFromResource, parseJsap, parseJsapArguments, parseJsapArguments, printDynamicHelpOptions, printUsageAsHtmlTable, printUsageAsWikiTable, setJarFilenamepublic GenericToolsDriver(String jarFilename)
public String[] getDynamicOptions()
public String getModeName()
AbstractCommandLineModegetModeName in class AbstractCommandLineModepublic String getModeDescription()
AbstractCommandLineModegetModeDescription in class AbstractCommandLineModepublic void printUsage(com.martiansoftware.jsap.JSAP jsapVal)
printUsage in class AbstractCommandLineModejsapVal - the JSAP as configuredpublic GenericToolsDriver configure(String[] argsVal) throws IOException, com.martiansoftware.jsap.JSAPException
configure in class AbstractCommandLineModeargsVal - the argumentsIOException - error parsing argumentscom.martiansoftware.jsap.JSAPException - error parsing argumentspublic void execute()
throws IOException
execute in class AbstractCommandLineModeIOException - error parsing arguments (in the mode), or other exceptionCopyright © 2017 Campagne Laboratory. All rights reserved.