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:
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 java.util.zip.DeflaterOutputStream
buf, def
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
FlateEncodeOutputStream
- See Also:
-
-
Method Details
-
finalizeStream
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:
IOException
- In case of an IO problem- See Also:
-