public class ScriptSourceInputFromReader extends Object implements ScriptSourceInput
Constructor and Description |
---|
ScriptSourceInputFromReader(Reader reader)
Constructs a ScriptSourceInputFromReader
|
Modifier and Type | Method and Description |
---|---|
Iterable<String> |
read(ImportSqlCommandExtractor commandExtractor)
Read the abstracted script, using the given extractor to split up the input into individual commands.
|
protected Reader |
reader() |
void |
release()
Release this input.
|
public ScriptSourceInputFromReader(Reader reader)
reader
- The reader to read frompublic Iterable<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
protected Reader reader()
Copyright © 2016 JBoss by Red Hat. All rights reserved.