Class ScriptSourceInputFromReader
- java.lang.Object
-
- org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput
-
- org.hibernate.tool.schema.internal.exec.ScriptSourceInputFromReader
-
- All Implemented Interfaces:
ScriptSourceInput
public class ScriptSourceInputFromReader extends AbstractScriptSourceInput
ScriptSourceInput implementation for explicitly given Readers.
-
-
Constructor Summary
Constructors Constructor Description ScriptSourceInputFromReader(Reader reader)
Constructs a ScriptSourceInputFromReader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsScript(URL url)
String
getScriptDescription()
protected Reader
prepareReader()
protected void
releaseReader(Reader reader)
String
toString()
-
Methods inherited from class org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput
extract
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.tool.schema.spi.ScriptSourceInput
exists
-
-
-
-
Constructor Detail
-
ScriptSourceInputFromReader
public ScriptSourceInputFromReader(Reader reader)
Constructs a ScriptSourceInputFromReader- Parameters:
reader
- The reader to read from
-
-
Method Detail
-
getScriptDescription
public String getScriptDescription()
-
prepareReader
protected Reader prepareReader()
- Specified by:
prepareReader
in classAbstractScriptSourceInput
-
releaseReader
protected void releaseReader(Reader reader)
- Specified by:
releaseReader
in classAbstractScriptSourceInput
-
containsScript
public boolean containsScript(URL url)
-
-