com.explosion.datastream.exql.processes
Class SQLFileProcess

java.lang.Object
  extended by com.explosion.utilities.exception.ExceptionManager
      extended by com.explosion.utilities.process.StackableSimpleProcess
          extended by com.explosion.datastream.exql.processes.SQLFileProcess
All Implemented Interfaces:
com.explosion.utilities.process.threads.Process, com.explosion.utilities.process.threads.SimpleProcess

public class SQLFileProcess
extends com.explosion.utilities.process.StackableSimpleProcess

Author:
Stephen Cowx Date created:@14-Feb-2003 This class executes a query and puts the results in a Dataset object

Constructor Summary
SQLFileProcess(com.explosion.utilities.process.threads.Finishable finishable, java.sql.Connection conn, java.io.File file)
          Constructor for RefreshTopNodesProcess.
SQLFileProcess(com.explosion.utilities.process.threads.Finishable finishable, java.sql.Connection conn, java.io.File file, EXQLBaseTool tool)
          Constructor for RefreshTopNodesProcess.
SQLFileProcess(com.explosion.utilities.process.threads.Finishable finishable, java.sql.Connection conn, java.lang.String scriptText, EXQLBaseTool tool, javax.swing.JTextArea logTextArea)
          Constructor for RefreshTopNodesProcess.
 
Method Summary
 com.explosion.expfmodules.rdbmsconn.dbom.DataSet getSet()
          Returns the set.
 java.util.List load()
           
 void log(java.lang.Exception exception, java.lang.String message)
           
 void log(java.lang.String string)
           
 void process()
           
 
Methods inherited from class com.explosion.utilities.process.StackableSimpleProcess
finalise, finalise, getPercentComplete, getProcessControl, getStatusText, getUpdateable, initialise, isStopped, isUserProcess, setIsUserProcess, setPercentComplete, setProcessControl, setStatusText
 
Methods inherited from class com.explosion.utilities.exception.ExceptionManager
addExceptionHandler, manageException, removeExceptionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLFileProcess

public SQLFileProcess(com.explosion.utilities.process.threads.Finishable finishable,
                      java.sql.Connection conn,
                      java.io.File file)
Constructor for RefreshTopNodesProcess.


SQLFileProcess

public SQLFileProcess(com.explosion.utilities.process.threads.Finishable finishable,
                      java.sql.Connection conn,
                      java.io.File file,
                      EXQLBaseTool tool)
Constructor for RefreshTopNodesProcess.


SQLFileProcess

public SQLFileProcess(com.explosion.utilities.process.threads.Finishable finishable,
                      java.sql.Connection conn,
                      java.lang.String scriptText,
                      EXQLBaseTool tool,
                      javax.swing.JTextArea logTextArea)
Constructor for RefreshTopNodesProcess.

Method Detail

process

public void process()
Specified by:
process in interface com.explosion.utilities.process.threads.SimpleProcess
Specified by:
process in class com.explosion.utilities.process.StackableSimpleProcess

load

public java.util.List load()
                    throws java.io.IOException,
                           java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

getSet

public com.explosion.expfmodules.rdbmsconn.dbom.DataSet getSet()
Returns the set.

Returns:
DataSet

log

public void log(java.lang.String string)

log

public void log(java.lang.Exception exception,
                java.lang.String message)


Copyright © 2003-2005 Explosion I.T.. All Rights Reserved.