Class FlateEncodeOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable, Finalizable

    public class FlateEncodeOutputStream
    extends java.util.zip.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 784710 2009-06-15 09:59:48Z vhennebert $
    • Field Summary

      • Fields inherited from class java.util.zip.DeflaterOutputStream

        buf, def
      • Fields inherited from class java.io.FilterOutputStream

        out
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void finalizeStream()
      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.
      • Methods inherited from class java.util.zip.DeflaterOutputStream

        close, deflate, finish, flush, write, write
      • Methods inherited from class java.io.FilterOutputStream

        write
      • Methods inherited from class java.io.OutputStream

        nullOutputStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlateEncodeOutputStream

        public FlateEncodeOutputStream​(java.io.OutputStream out)
        See Also:
        DeflaterOutputStream
    • Method Detail

      • finalizeStream

        public void finalizeStream()
                            throws java.io.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:
        java.io.IOException - In case of an IO problem
        See Also:
        Finalizable