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) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int offset,
int length) |
void |
write(int b) |
close
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