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, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flush, write, write, write
public NoCloseOutputStream(OutputStream out)
public void close() throws IOException
IOutputStream
close
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 IOutputStream
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
- if an I/O error occurs.Copyright © 2013–2019. All rights reserved.