Package org.hibernate.tool.schema.spi
Interface ScriptSourceInput
-
- All Known Implementing Classes:
AbstractScriptSourceInput,ScriptSourceInputAggregate,ScriptSourceInputFromFile,ScriptSourceInputFromReader,ScriptSourceInputFromUrl,ScriptSourceInputNonExistentImpl
public interface ScriptSourceInputContract for hiding the differences between a passed Reader, File or URL in terms of how we read input scripts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancontainsScript(URL url)default booleanexists()List<String>extract(Function<Reader,List<String>> extractor)Allows managed access to the input's Reader, returning a resultdefault StringgetScriptDescription()
-