Package org.apache.xmlgraphics.util.io
Class FlateEncodeOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- java.util.zip.DeflaterOutputStream
-
- org.apache.xmlgraphics.util.io.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 1732018 2016-02-24 04:51:06Z gadams $
-
-
Constructor Summary
Constructors Constructor Description FlateEncodeOutputStream(java.io.OutputStream 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.
-
-
-
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 interfaceFinalizable
- Throws:
java.io.IOException
- In case of an IO problem- See Also:
Finalizable
-
-