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
-
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 classjava.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 interfacejava.lang.AutoCloseable
- Throws:
java.io.IOException
-