org.axiondb.tools
Class BatchSqlCommandRunner

java.lang.Object
  extended by org.axiondb.tools.BatchSqlCommandRunner

public class BatchSqlCommandRunner
extends Object


Constructor Summary
BatchSqlCommandRunner(Connection conn)
           
BatchSqlCommandRunner(Connection conn, PrintWriter pw)
           
BatchSqlCommandRunner(Statement stmt)
           
BatchSqlCommandRunner(Statement stmt, PrintWriter pw)
           
 
Method Summary
 void close()
           
 void runCommands(BufferedReader reader)
           
 void runCommands(InputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchSqlCommandRunner

public BatchSqlCommandRunner(Connection conn)
                      throws SQLException
Throws:
SQLException

BatchSqlCommandRunner

public BatchSqlCommandRunner(Connection conn,
                             PrintWriter pw)
                      throws SQLException
Throws:
SQLException

BatchSqlCommandRunner

public BatchSqlCommandRunner(Statement stmt)

BatchSqlCommandRunner

public BatchSqlCommandRunner(Statement stmt,
                             PrintWriter pw)
Method Detail

runCommands

public void runCommands(BufferedReader reader)
                 throws IOException,
                        SQLException
Throws:
IOException
SQLException

runCommands

public void runCommands(InputStream stream)
                 throws IOException,
                        SQLException
Throws:
IOException
SQLException

close

public void close()