public class BufferedOutputStreamWithCloseDetection extends BufferedOutputStream
buf, countout| 构造器和说明 |
|---|
BufferedOutputStreamWithCloseDetection(OutputStream out) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 Flushableflush 在类中 BufferedOutputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 FilterOutputStreamIOExceptionCopyright © 2024 Hitachi Vantara. All rights reserved.