Class NoCloseOutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.jfree.report.util.NoCloseOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class 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.
Author:
Thomas Morgner
  • Constructor Details

    • NoCloseOutputStream

      public NoCloseOutputStream(OutputStream out)
      Create a new NoCloseOutputStream with the given output stream a parent.
      Parameters:
      out - the parent stream
  • Method Details