org.apache.commons.compress.compressors.gzip
Class GzipCompressorOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.compress.compressors.CompressorOutputStream
org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class GzipCompressorOutputStream
- extends CompressorOutputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GzipCompressorOutputStream
public GzipCompressorOutputStream(OutputStream outputStream)
throws IOException
- Throws:
IOException
write
public void write(int b)
throws IOException
- Specified by:
write
in class OutputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class OutputStream
- Throws:
IOException
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.