org.hsqldb.scriptio
Class ScriptReaderBase
java.lang.Object
org.hsqldb.scriptio.ScriptReaderBase
- Direct Known Subclasses:
- ScriptReaderText
- public abstract class ScriptReaderBase
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newScriptReader
public static ScriptReaderBase newScriptReader(Database db,
String file,
int scriptType)
throws HsqlException,
IOException
- Throws:
HsqlException
IOException
openFile
protected void openFile()
throws IOException
- Throws:
IOException
readAll
public void readAll(Session session)
throws IOException,
HsqlException
- Throws:
IOException
HsqlException
readDDL
protected abstract void readDDL(Session session)
throws IOException,
HsqlException
- Throws:
IOException
HsqlException
readExistingData
protected abstract void readExistingData(Session session)
throws IOException,
HsqlException
- Throws:
IOException
HsqlException
readLoggedStatement
public abstract String readLoggedStatement()
throws IOException
- Throws:
IOException
getLineNumber
public int getLineNumber()
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.