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