org.axiondb.tools
Class Console
java.lang.Object
org.axiondb.tools.Console
public class Console
- extends java.lang.Object
Simple console-based Axion client application.
Invoke via java org.axiondb.tools.Console dbname
[location]
.
- Version:
- $Revision: 1.16 $ $Date: 2006/01/10 21:02:37 $
Constructor Summary |
Console(java.lang.String dbName,
java.io.PrintWriter writer)
|
Console(java.lang.String dbName,
java.lang.String dbLoc,
java.io.PrintWriter writer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Console
public Console(java.lang.String dbName,
java.io.PrintWriter writer)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Console
public Console(java.lang.String dbName,
java.lang.String dbLoc,
java.io.PrintWriter writer)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getConnection
public java.sql.Connection getConnection()
execute
public void execute(java.lang.String input)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
cleanUp
public void cleanUp()
main
public static void main(java.lang.String[] args)