org.axiondb.tools
Class Console

java.lang.Object
  extended by 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.16 $ $Date: 2006/01/10 21:02:37 $

Constructor Summary
Console(String dbName, PrintWriter writer)
           
Console(String dbName, String dbLoc, PrintWriter writer)
           
 
Method Summary
 void cleanUp()
           
 void execute(String input)
           
 Connection getConnection()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Console

public Console(String dbName,
               PrintWriter writer)
        throws SQLException
Throws:
SQLException

Console

public Console(String dbName,
               String dbLoc,
               PrintWriter writer)
        throws SQLException
Throws:
SQLException
Method Detail

getConnection

public Connection getConnection()

execute

public void execute(String input)
             throws SQLException
Throws:
SQLException

cleanUp

public void cleanUp()

main

public static void main(String[] args)