Package sqlline

Class 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

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • OutputFile

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

      • 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