public class UnsyncBufferedWriter extends Writer
See https://issues.liferay.com/browse/LPS-6648.
| Modifier and Type | Field and Description |
|---|---|
protected char[] |
buffer |
protected int |
count |
protected int |
size |
protected Writer |
writer |
| Constructor and Description |
|---|
UnsyncBufferedWriter(Writer writer) |
UnsyncBufferedWriter(Writer writer,
int size) |
protected char[] buffer
protected int count
protected int size
protected Writer writer
public UnsyncBufferedWriter(Writer writer)
public UnsyncBufferedWriter(Writer writer, int size)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void newLine()
throws IOException
IOExceptionpublic void write(char[] chars,
int offset,
int length)
throws IOException
write in class WriterIOExceptionpublic void write(int c)
throws IOException
write in class WriterIOExceptionpublic void write(String string, int offset, int length) throws IOException
write in class WriterIOException