org.apache.fop.render.ps
Class FlateEncodeOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.util.zip.DeflaterOutputStream
              extended by org.apache.fop.render.ps.FlateEncodeOutputStream
All Implemented Interfaces:
Closeable, Flushable, 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 conformi

Version:
$Id: FlateEncodeOutputStream.java,v 1.1.2.2 2003/02/25 14:58:23 jeremias Exp $
Author:
Jeremias Maerki

Field Summary
 
Fields inherited from class java.util.zip.DeflaterOutputStream
buf, def
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
FlateEncodeOutputStream(OutputStream out)
           
 
Method Summary
 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, write, write
 
Methods inherited from class java.io.FilterOutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlateEncodeOutputStream

public FlateEncodeOutputStream(OutputStream out)
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


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.