public class NoCloseOutputStream extends OutputStream
| 限定符和类型 | 字段和说明 |
|---|---|
protected OutputStream |
out
The underlying output stream to be filtered.
|
| 构造器和说明 |
|---|
NoCloseOutputStream(OutputStream out)
Constructor.
|
protected final OutputStream out
public NoCloseOutputStream(OutputStream out)
public void write(int b)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void close()
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 OutputStreampublic void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 OutputStreamIOExceptionCopyright © 2022. All rights reserved.