org.axiondb.tools
Class BatchSqlCommandRunner

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

public class BatchSqlCommandRunner
extends java.lang.Object


Constructor Summary
BatchSqlCommandRunner(java.sql.Connection conn)
           
BatchSqlCommandRunner(java.sql.Connection conn, java.io.PrintWriter pw)
           
BatchSqlCommandRunner(java.sql.Statement stmt)
           
BatchSqlCommandRunner(java.sql.Statement stmt, java.io.PrintWriter pw)
           
 
Method Summary
 void close()
           
 void runCommands(java.io.BufferedReader reader)
           
 void runCommands(java.io.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(java.sql.Connection conn)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

BatchSqlCommandRunner

public BatchSqlCommandRunner(java.sql.Connection conn,
                             java.io.PrintWriter pw)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

BatchSqlCommandRunner

public BatchSqlCommandRunner(java.sql.Statement stmt)

BatchSqlCommandRunner

public BatchSqlCommandRunner(java.sql.Statement stmt,
                             java.io.PrintWriter pw)
Method Detail

runCommands

public void runCommands(java.io.BufferedReader reader)
                 throws java.io.IOException,
                        java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

runCommands

public void runCommands(java.io.InputStream stream)
                 throws java.io.IOException,
                        java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

close

public void close()