Class ScriptTargetOutputToFile

java.lang.Object
org.hibernate.tool.schema.internal.exec.AbstractScriptTargetOutput
org.hibernate.tool.schema.internal.exec.ScriptTargetOutputToFile
All Implemented Interfaces:
ScriptTargetOutput

public class ScriptTargetOutputToFile extends AbstractScriptTargetOutput implements ScriptTargetOutput
ScriptTargetOutput implementation for writing to supplied File references
  • Constructor Details

    • ScriptTargetOutputToFile

      public ScriptTargetOutputToFile(File file, String charsetName, boolean append)
      Constructs a ScriptTargetOutputToFile instance
      Parameters:
      file - The file to read from
      charsetName - The charset name
      append - If true, then bytes will be written to the end of the file rather than the beginning
    • ScriptTargetOutputToFile

      public ScriptTargetOutputToFile(File file, String charsetName)
      Constructs a ScriptTargetOutputToFile instance, the bytes will be written to the end of the file rather than the beginning
      Parameters:
      file - The file to read from
      charsetName - The charset name
  • Method Details