Class NoCloseOutputStream

java.lang.Object
java.io.OutputStream
nl.siegmann.epublib.util.NoCloseOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class NoCloseOutputStream extends OutputStream
OutputStream with the close() disabled. We write multiple documents to a ZipOutputStream. Some of the formatters call a close() after writing their data. We don't want them to do that, so we wrap regular OutputStreams in this NoCloseOutputStream.