public class App extends DBaseCmdLine
password, type, url, userexitStatus, 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
|
static boolean |
doesImport(java.util.List<java.lang.String> lines,
java.lang.String importedClass) |
java.util.HashMap<java.lang.String,java.lang.String> |
findMethods(DBClassAbstract origDBClass) |
static void |
findMethods(java.io.File file,
java.util.HashMap<java.lang.String,java.lang.String> methods) |
void |
handleCommandLine(org.apache.commons.cli.CommandLine line)
handle the command line args
|
static java.util.List<java.lang.String> |
loadFile(java.io.File file,
java.lang.String[] seperatorUsed) |
static void |
main(java.lang.String[] argv)
The main for the program
|
void |
process()
Generate the code.
|
initabort, abortShowHelp, execute, getExtraPars, handleArgs, setDefaults, setExitFlgprotected void addExtraOptions(org.apache.commons.cli.Options options)
addExtraOptions in class DBaseCmdLineoptions - the optionspublic void handleCommandLine(@Nonnull
org.apache.commons.cli.CommandLine line)
throws java.lang.Exception
handleCommandLine in class DBaseCmdLineline - the command linejava.lang.Exception - a serious problempublic void process()
process in class AppCmdLinepublic static boolean doesImport(java.util.List<java.lang.String> lines,
java.lang.String importedClass)
public java.util.HashMap<java.lang.String,java.lang.String> findMethods(DBClassAbstract origDBClass) throws java.lang.Exception
origDBClass - java.lang.Exception - a serious problem.public static void findMethods(java.io.File file,
java.util.HashMap<java.lang.String,java.lang.String> methods)
throws java.lang.Exception
file - methods - java.lang.Exception - a serious problem.public static java.util.List<java.lang.String> loadFile(java.io.File file,
java.lang.String[] seperatorUsed)
throws java.lang.Exception
file - seperatorUsed - java.lang.Exception - a serious problem.public static void main(java.lang.String[] argv)
argv - The command line argumentsstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.