public class BufferedOutputStreamWithCloseDetection extends BufferedOutputStream
buf, countout| Constructor and Description |
|---|
BufferedOutputStreamWithCloseDetection(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close only once.
|
void |
flush()
Don't flush empty buffer if already closed.
|
write, writewritepublic BufferedOutputStreamWithCloseDetection(OutputStream out)
public void flush()
throws IOException
flush in interface Flushableflush in class BufferedOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionCopyright © 2018 Hitachi Vantara. All rights reserved.