org.jfree.report.util
Class NoCloseOutputStream
FilterOutputStream
org.jfree.report.util.NoCloseOutputStream
extends FilterOutputStream
A Wrapper stream that does never calls close on its parent. This implementation is
needed when creating ZipOutputStream, as the final ZipDirectory is written when close
is called on the ZipOutputSteam.
NoCloseOutputStream(OutputStream out) - Create a new NoCloseOutputStream with the given output stream a parent.
|
void | close() - Closes this output stream and releases any system resources associated with the
stream, but does not close the underlying output stream.
|
NoCloseOutputStream
public NoCloseOutputStream(OutputStream out)
Create a new NoCloseOutputStream with the given output stream a parent.
close
public void close()
throws IOException
Closes this output stream and releases any system resources associated with the
stream, but does not close the underlying output stream.
The
close
method of
FilterOutputStream
calls its
flush
method.
FilterOutputStream.flush()
, FilterOutputStream.out