public class UnsyncBufferedOutputStream extends UnsyncFilterOutputStream
See https://issues.liferay.com/browse/LPS-6648.
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buffer |
protected int |
count |
outputStream
Constructor and Description |
---|
UnsyncBufferedOutputStream(OutputStream outputStream) |
UnsyncBufferedOutputStream(OutputStream outputStream,
int size) |
public UnsyncBufferedOutputStream(OutputStream outputStream)
public UnsyncBufferedOutputStream(OutputStream outputStream, int size)
public void flush() throws IOException
flush
in interface Flushable
flush
in class UnsyncFilterOutputStream
IOException
public void write(byte[] bytes) throws IOException
write
in class UnsyncFilterOutputStream
IOException
public void write(byte[] bytes, int offset, int length) throws IOException
write
in class UnsyncFilterOutputStream
IOException
public void write(int b) throws IOException
write
in class UnsyncFilterOutputStream
IOException