Package sqlline

Class OutputFile

java.lang.Object
sqlline.OutputFile
All Implemented Interfaces:
java.lang.AutoCloseable

public class OutputFile
extends java.lang.Object
implements java.lang.AutoCloseable
Output file.
  • Constructor Summary

    Constructors 
    Constructor Description
    OutputFile​(java.lang.String filename)  
  • Method Summary

    Modifier and Type Method Description
    void addLine​(java.lang.String command)  
    void close()  
    void print​(java.lang.String command)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OutputFile

      public OutputFile​(java.lang.String filename) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • addLine

      public void addLine​(java.lang.String command)
    • print

      public void print​(java.lang.String command)
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface java.lang.AutoCloseable
      Throws:
      java.io.IOException