public abstract class CommandLineBase extends java.lang.Object
Constructor and Description |
---|
CommandLineBase() |
Modifier and Type | Method and Description |
---|---|
protected static void |
abort(java.lang.String message)
Aborts the JVM with the given message.
|
protected void |
handleLeftOvers(java.lang.String[] leftOvers)
Template methods for dealing with left overs (i.e.
|
protected void |
initFromCommandLine(java.lang.String[] args)
Read the command line.
|
void |
printUsageAndExit()
Help option: print usage and exit.
|
public CommandLineBase()
@Option(shortName=104, longName="help", description="print this usage message") public void printUsageAndExit()
protected void initFromCommandLine(java.lang.String[] args)
protected void handleLeftOvers(java.lang.String[] leftOvers)
protected static void abort(java.lang.String message)