Class FlateEncodeOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.util.zip.DeflaterOutputStream
org.apache.xmlgraphics.util.io.FlateEncodeOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, 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$
-
Field Summary
Fields inherited from class DeflaterOutputStream
buf, defFields inherited from class FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis 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 FilterOutputStream
writeMethods inherited from class OutputStream
nullOutputStream
-
Constructor Details
-
FlateEncodeOutputStream
- See Also:
-
-
Method Details
-
finalizeStream
Description copied from interface:FinalizableThis 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:
finalizeStreamin interfaceFinalizable- Throws:
IOException- In case of an IO problem- See Also:
-