public abstract class AbstractScriptSourceInput extends java.lang.Object implements ScriptSourceInput
Constructor and Description |
---|
AbstractScriptSourceInput() |
Modifier and Type | Method and Description |
---|---|
void |
prepare()
Prepare source for use.
|
java.util.List<java.lang.String> |
read(ImportSqlCommandExtractor commandExtractor)
Read the abstracted script, using the given extractor to split up the input into individual commands.
|
protected abstract java.io.Reader |
reader() |
void |
release()
Release this input.
|
protected abstract java.io.Reader reader()
public void prepare()
ScriptSourceInput
prepare
in interface ScriptSourceInput
public java.util.List<java.lang.String> read(ImportSqlCommandExtractor commandExtractor)
ScriptSourceInput
read
in interface ScriptSourceInput
commandExtractor
- The extractor for individual commands within the input.public void release()
ScriptSourceInput
release
in interface ScriptSourceInput
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.