FreeHEP API
Version current

org.freehep.util.io
Class CompressableOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byorg.freehep.util.io.CompressableOutputStream
All Implemented Interfaces:
FinishableOutputStream
Direct Known Subclasses:
BitOutputStream

public class CompressableOutputStream
extends FilterOutputStream
implements FinishableOutputStream

Version:
$Id: CompressableOutputStream.java,v 1.1 2003/04/19 16:48:34 duns Exp $
Author:
Mark Donszelmann
Source Code:
CompressableOutputStream.java

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
CompressableOutputStream(OutputStream out)
           
 
Method Summary
 void close()
           
 void finish()
           
 void startCompressing()
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
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

CompressableOutputStream

public CompressableOutputStream(OutputStream out)
Method Detail

write

public void write(int b)
           throws IOException
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Throws:
IOException

finish

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

close

public void close()
           throws IOException
Throws:
IOException

startCompressing

public void startCompressing()
                      throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.