public class NoCloseOutputStream extends FilterOutputStream implements IOutputStream
out| Constructor and Description |
|---|
NoCloseOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this output stream and releases any system resources
associated with this stream.
|
flush, write, write, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflush, write, write, writepublic NoCloseOutputStream(OutputStream out)
public void close() throws IOException
IOutputStreamclose
is that it closes the output stream. A closed stream cannot perform
output operations and cannot be reopened.
The close method of IOutputStream does nothing.
close in interface IOutputStreamclose in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOException - if an I/O error occurs.Copyright © 2013–2017. All rights reserved.