public abstract class DBaseCmdLine extends AppCmdLine
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
password
the password
|
protected java.lang.String |
type
the type
|
protected java.lang.String |
url
the url
|
protected java.lang.String |
user
the user
|
exitStatus, OPTION_DEBUG, OPTION_HELP, OPTION_HOME, OPTION_REMOTE_URL, PROPERTY_REMOTE_URL
Constructor and Description |
---|
DBaseCmdLine() |
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
|
void |
init()
connect to the database
|
abort, abortShowHelp, execute, getExtraPars, handleArgs, process, setDefaults, setExitFlg
protected java.lang.String url
protected java.lang.String user
protected java.lang.String type
protected java.lang.String password
protected void addExtraOptions(@Nonnull 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 command linejava.lang.Exception
- a serious problempublic void init() throws java.lang.Exception
init
in class AppCmdLine
java.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.