net.sourceforge.schemaspy.util
Class LineWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
net.sourceforge.schemaspy.util.LineWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class LineWriter
- extends BufferedWriter
BufferedWriter that adds a writeln() method
to output a lineDelimited line of text without
cluttering up code.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineWriter
public LineWriter(Writer out)
LineWriter
public LineWriter(Writer out,
int sz)
LineWriter
public LineWriter(OutputStream out)
throws UnsupportedEncodingException
- Construct a
LineWriter with UTF8 output
- Parameters:
out - OutputStream
- Throws:
UnsupportedEncodingException
writeln
public void writeln(String str)
throws IOException
- Throws:
IOException
writeln
public void writeln()
throws IOException
- Throws:
IOException
Copyright © 2007-2010. All Rights Reserved.