|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.mungoknotwise.sqlcli.SqlCli
Main program for the SqlCli command line interface.
| Constructor Summary | |
SqlCli()
Constructs a new instance of SqlCli. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Runs the program with the specified command line arguments. |
boolean |
parseArguments(java.lang.String[] args)
Parses the command line arguments. |
void |
run()
Runs the program logic. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SqlCli()
SqlCli.
| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - the command line arguments
java.lang.Exception - if an error occurs
public boolean parseArguments(java.lang.String[] args)
throws java.lang.Exception
args - the command line arguments
true if processing should continue, false
otherwise
java.lang.Exception - if an error occurs
public void run()
throws java.io.IOException,
java.sql.SQLException,
java.lang.ClassNotFoundException
java.io.IOException - if an I/O exception occurs
java.sql.SQLException - if an SQL error occurs
java.lang.ClassNotFoundException - if the driver class is not found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||