public class UnsyncBufferedOutputStream extends FilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buffer |
protected int |
count |
out
Constructor and Description |
---|
UnsyncBufferedOutputStream(OutputStream out) |
UnsyncBufferedOutputStream(OutputStream out,
int size) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
void |
write(byte[] bytes,
int offset,
int length) |
void |
write(int oneByte) |
close, write
public UnsyncBufferedOutputStream(OutputStream out)
public UnsyncBufferedOutputStream(OutputStream out, int size)
public void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
public void write(byte[] bytes, int offset, int length) throws IOException
write
in class FilterOutputStream
IOException
public void write(int oneByte) throws IOException
write
in class FilterOutputStream
IOException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.