public static class UserSql.AddUser extends CommandLineParser
CommandLineParser.Template, CommandLineParser.Test| Modifier and Type | Field and Description |
|---|---|
private static String |
FOOT
A footer message.
|
private static String |
ONESWITCH
The switches for adding properties.
|
private static Map<String,String> |
USE
Detailed use of switches.
|
private static String |
ZEROSWITCH
The switches for adding properties.
|
HELPSWITCHES| Constructor and Description |
|---|
AddUser() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg) |
private boolean |
process(String[] arg) |
addHelpSwitches, getArguments, getCallerName, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasHelpSwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usageprivate static final String ZEROSWITCH
private static final String ONESWITCH
private static final String FOOT
private boolean process(String[] arg) throws ParseException, SQLException, InitException
InitException - Reads the command line and find the stars. Returns true, if all
necessarry parameters were present and reduction was possible,
otherwise return false. Usage never displayed.ParseExceptionSQLExceptionpublic static void main(String[] arg) throws ParseException, SQLException, InitException
InitException - First argument is the name of the user,SQLExceptionParseException