public class App extends AppCmdLine
exitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL
Constructor and Description |
---|
App() |
Modifier and Type | Method and Description |
---|---|
protected void |
addExtraOptions(org.apache.commons.cli.Options options)
add extra command line options
|
void |
handleCommandLine(org.apache.commons.cli.CommandLine line)
handle the command line args
|
static void |
main(java.lang.String[] argv)
The main for the program
|
void |
process()
process
|
abort, abortShowHelp, execute, getExtraPars, handleArgs, init, setDefaults, setExitFlg
protected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions
in class AppCmdLine
options
- the optionspublic void handleCommandLine(@Nonnull org.apache.commons.cli.CommandLine line) throws java.lang.Exception
handleCommandLine
in class AppCmdLine
line
- the linejava.lang.Exception
- Exception A serious problempublic void process() throws java.lang.Exception
process
in class AppCmdLine
java.lang.Exception
- Exception A serious problempublic static void main(java.lang.String[] argv)
argv
- The command line argumentsstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.