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)
ScriptSourceInputread in interface ScriptSourceInputcommandExtractor - The extractor for individual commands within the input.public void release()
ScriptSourceInputrelease in interface ScriptSourceInputprotected Reader reader()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.