org.axiondb.tools
Class Console
java.lang.Object
org.axiondb.tools.Console
public class Console
- extends Object
Simple console-based Axion client application.
Invoke via java org.axiondb.tools.Console dbname
[location]
.
- Version:
- $Revision: 1.12 $ $Date: 2004/08/13 02:01:14 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Console
public Console(String dbName,
PrintWriter writer)
throws SQLException
- Throws:
SQLException
Console
public Console(String dbName,
String dbLoc,
PrintWriter writer)
throws SQLException
- Throws:
SQLException
getConnection
public Connection getConnection()
execute
public void execute(String input)
cleanUp
public void cleanUp()
printBoundary
public void printBoundary(char boundaryChar,
int[] colWidths)
printCentered
public void printCentered(String value,
int length)
printRight
public void printRight(String value,
int length)
main
public static void main(String[] args)