com.liferay.portal.kernel.io.unsync
Class UnsyncBufferedWriter
java.lang.Object
java.io.Writer
com.liferay.portal.kernel.io.unsync.UnsyncBufferedWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class UnsyncBufferedWriter
- extends Writer
See http://issues.liferay.com/browse/LPS-6648.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
protected char[] buffer
count
protected int count
size
protected int size
writer
protected Writer writer
UnsyncBufferedWriter
public UnsyncBufferedWriter(Writer writer)
UnsyncBufferedWriter
public UnsyncBufferedWriter(Writer writer,
int size)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Writer
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class Writer
- Throws:
IOException
newLine
public void newLine()
throws IOException
- Throws:
IOException
write
public void write(char[] charArray,
int offset,
int length)
throws IOException
- Specified by:
write
in class Writer
- Throws:
IOException
write
public void write(int c)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException
write
public void write(String string,
int offset,
int length)
throws IOException
- Overrides:
write
in class Writer
- Throws:
IOException