Class FlateEncodeOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable, Finalizable

    public class FlateEncodeOutputStream
    extends DeflaterOutputStream
    implements Finalizable
    This class applies a FlateEncode filter to the stream. It is basically the normal DeflaterOutputStream except now also implementing the Finalizable interface.
    Version:
    $Id: FlateEncodeOutputStream.java 1732018 2016-02-24 04:51:06Z gadams $
    • Method Detail

      • finalizeStream

        public void finalizeStream()
                            throws IOException
        Description copied from interface: Finalizable
        This method can be called instead of close() on a subclass of FilteredOutputStream when a final marker has to be written to the target stream, but close() cannot be called.
        Specified by:
        finalizeStream in interface Finalizable
        Throws:
        IOException - In case of an IO problem
        See Also:
        Finalizable