Class ScriptSourceInputFromFile
java.lang.Object
org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput
org.hibernate.tool.schema.internal.exec.ScriptSourceInputFromFile
- All Implemented Interfaces:
ScriptSourceInput
ScriptSourceInput implementation for File references.
-
Constructor Summary
ConstructorsConstructorDescriptionScriptSourceInputFromFile
(File file, String charsetName) Constructs a ScriptSourceInputFromFile -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsScript
(URL url) protected Reader
protected void
releaseReader
(Reader reader) 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 Details
-
ScriptSourceInputFromFile
Constructs a ScriptSourceInputFromFile- Parameters:
file
- The file to read fromcharsetName
- The charset name
-
-
Method Details
-
getScriptDescription
-
prepareReader
- Specified by:
prepareReader
in classAbstractScriptSourceInput
-
releaseReader
- Specified by:
releaseReader
in classAbstractScriptSourceInput
-
containsScript
-
toString
-