public abstract class AbstractScriptSourceInput extends Object implements ScriptSourceInput
| Constructor and Description |
|---|
AbstractScriptSourceInput() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare()
Prepare source for use.
|
List<String> |
read(ImportSqlCommandExtractor commandExtractor)
Read the abstracted script, using the given extractor to split up the input into individual commands.
|
protected abstract Reader |
reader() |
void |
release()
Release this input.
|
protected abstract Reader reader()
public void prepare()
ScriptSourceInputprepare in interface ScriptSourceInputpublic List<String> read(ImportSqlCommandExtractor commandExtractor)
ScriptSourceInputread in interface ScriptSourceInputcommandExtractor - The extractor for individual commands within the input.public void release()
ScriptSourceInputrelease in interface ScriptSourceInputCopyright © 2018 JBoss by Red Hat. All rights reserved.