Class ScriptSourceInputFromFile
- java.lang.Object
-
- org.hibernate.tool.schema.internal.exec.AbstractScriptSourceInput
-
- org.hibernate.tool.schema.internal.exec.ScriptSourceInputFromFile
-
- All Implemented Interfaces:
ScriptSourceInput
public class ScriptSourceInputFromFile extends AbstractScriptSourceInput
ScriptSourceInput implementation for File references.
-
-
Constructor Summary
Constructors Constructor Description ScriptSourceInputFromFile(File file, String charsetName)
Constructs a ScriptSourceInputFromFile
-
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
-
-
-
-
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)
-
-