Package org.hibernate.tool.schema.spi
Interface ScriptTargetOutput
-
public interface ScriptTargetOutput
Contract for hiding the differences between a passed Writer, File or URL in terms of how we write output scripts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(java.lang.String command)
Accept the given command and write it to the abstracted scriptvoid
prepare()
Prepare the script target toaccept
commandsvoid
release()
Release this output
-
-
-
Method Detail
-
prepare
void prepare()
Prepare the script target toaccept
commands
-
accept
void accept(java.lang.String command)
Accept the given command and write it to the abstracted script- Parameters:
command
- The command
-
release
void release()
Release this output
-
-