org.hsqldb.scriptio
Class ScriptReaderText

java.lang.Object
  extended byorg.hsqldb.scriptio.ScriptReaderBase
      extended byorg.hsqldb.scriptio.ScriptReaderText

public class ScriptReaderText
extends ScriptReaderBase

Handles operations involving reading back a script or log file written out by DatabaseScriptWriter. This implementation and its subclasses correspond to DatabaseScriptWriter and its subclasses for the supported formats.

Since:
1.7.2
Version:
1.7.2
Author:
fredt@users

Method Summary
 void close()
           
protected  void openFile()
          openFile
protected  void readDDL(Session session)
           
protected  void readExistingData(Session session)
           
 String readLoggedStatement()
           
 
Methods inherited from class org.hsqldb.scriptio.ScriptReaderBase
getLineNumber, newScriptReader, readAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readDDL

protected void readDDL(Session session)
                throws IOException,
                       HsqlException
Specified by:
readDDL in class ScriptReaderBase
Throws:
IOException
HsqlException

readExistingData

protected void readExistingData(Session session)
                         throws IOException,
                                HsqlException
Specified by:
readExistingData in class ScriptReaderBase
Throws:
IOException
HsqlException

readLoggedStatement

public String readLoggedStatement()
                           throws IOException
Specified by:
readLoggedStatement in class ScriptReaderBase
Throws:
IOException

openFile

protected void openFile()
                 throws IOException
openFile

Overrides:
openFile in class ScriptReaderBase
Throws:
IOException
To Do:
Implement this org.hsqldb.scriptio.ScriptReaderBase method

close

public void close()
           throws IOException
Overrides:
close in class ScriptReaderBase
Throws:
IOException


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.