scriptella.driver.text
Class TextConnection
java.lang.Object
scriptella.spi.AbstractConnection
scriptella.driver.text.AbstractTextConnection
scriptella.driver.text.TextConnection
- All Implemented Interfaces:
- scriptella.spi.Connection
public class TextConnection
- extends AbstractTextConnection
Represents a connection to a Text file.
For configuration details and examples see overview page.
- Version:
- 1.0
- Author:
- Fyodor Kupolov
| Nested classes/interfaces inherited from class scriptella.spi.AbstractConnection |
scriptella.spi.AbstractConnection.StatementCounter |
| Fields inherited from class scriptella.driver.text.AbstractTextConnection |
encoding, ENCODING, eol, EOL, flush, FLUSH, NULL_STRING, nullString, SKIP_LINES, skipLines, trim, TRIM, url |
| Fields inherited from class scriptella.spi.AbstractConnection |
counter |
|
Method Summary |
void |
close()
|
void |
executeQuery(scriptella.spi.Resource queryContent,
scriptella.spi.ParametersCallback parametersCallback,
scriptella.spi.QueryCallback queryCallback)
|
void |
executeScript(scriptella.spi.Resource scriptContent,
scriptella.spi.ParametersCallback parametersCallback)
|
protected void |
initOut()
Lazily initializes script writer. |
| Methods inherited from class scriptella.spi.AbstractConnection |
commit, getDialectIdentifier, getExecutedStatementsCount, isReadonly, rollback, setDialectIdentifier, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TextConnection
protected TextConnection()
- For testing purposes only.
TextConnection
public TextConnection(scriptella.spi.ConnectionParameters parameters)
executeScript
public void executeScript(scriptella.spi.Resource scriptContent,
scriptella.spi.ParametersCallback parametersCallback)
throws scriptella.spi.ProviderException
- Throws:
scriptella.spi.ProviderException
initOut
protected void initOut()
- Lazily initializes script writer.
executeQuery
public void executeQuery(scriptella.spi.Resource queryContent,
scriptella.spi.ParametersCallback parametersCallback,
scriptella.spi.QueryCallback queryCallback)
throws scriptella.spi.ProviderException
- Throws:
scriptella.spi.ProviderException
close
public void close()
throws scriptella.spi.ProviderException
- Throws:
scriptella.spi.ProviderException
Copyright © Copyright 2006-2009 The Scriptella Project Team.