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 script
      void prepare()
      Prepare the script target to accept commands
      void release()
      Release this output
    • Method Detail

      • prepare

        void prepare()
        Prepare the script target to accept 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