FreeHEP API
Version current

org.freehep.util.io
Class FlateOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byjava.util.zip.DeflaterOutputStream
              extended byorg.freehep.util.io.FlateOutputStream
All Implemented Interfaces:
FinishableOutputStream

public class FlateOutputStream
extends DeflaterOutputStream
implements FinishableOutputStream

The FlateOutputStream uses the Deflate mechanism to compress data. The exact definition of Deflate encoding can be found in the PostScript Language Reference (3rd ed.) chapter 3.13.3.

Version:
$Id: FlateOutputStream.java,v 1.5 2005/01/10 18:29:57 duns Exp $
Author:
Mark Donszelmann
Source Code:
FlateOutputStream.java

Field Summary
 
Fields inherited from class java.util.zip.DeflaterOutputStream
buf, def
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
FlateOutputStream(OutputStream out)
           
 
Method Summary
 void finish()
           
 
Methods inherited from class java.util.zip.DeflaterOutputStream
close, deflate, 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

FlateOutputStream

public FlateOutputStream(OutputStream out)
Method Detail

finish

public void finish()
            throws IOException
Specified by:
finish in interface FinishableOutputStream
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.