com.jscape.inet.util
Class LineWriter
java.lang.Object
com.jscape.inet.util.LineWriter
public class LineWriter
- extends java.lang.Object
- Version:
- 1.0
- Author:
- Alex Usun
Constructor Summary |
LineWriter(java.io.OutputStream out,
java.lang.String lineSeparator)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineWriter
public LineWriter(java.io.OutputStream out,
java.lang.String lineSeparator)
- Parameters:
out
- lineSeparator
-
writeLine
public void writeLine(java.lang.String line)
throws java.io.IOException
- Parameters:
line
-
- Throws:
java.io.IOException
write
public void write(java.lang.String line)
throws java.io.IOException
- Write a line of data without line terminator
- Parameters:
line
- the line of data to write
- Throws:
java.io.IOException
getLineNumber
public long getLineNumber()
- Returns:
- line number
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
safeClose
public void safeClose()
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved