de.schlichtherle.io.archive.tar
Class TarGZipDriver.GZIPOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.util.zip.DeflaterOutputStream
java.util.zip.GZIPOutputStream
de.schlichtherle.io.archive.tar.TarGZipDriver.GZIPOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Enclosing class:
- TarGZipDriver
public static class TarGZipDriver.GZIPOutputStream
- extends GZIPOutputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TarGZipDriver.GZIPOutputStream
public TarGZipDriver.GZIPOutputStream(OutputStream out,
int size,
int level)
throws IOException
- Constructs a new
GZIPOutputStream with the specified
output stream, buffer size and compression level.
- Parameters:
level - The compression level for the Deflater
(1..9).
- Throws:
IOException - If an I/O error occurs.
IllegalArgumentException - if size is <= 0.
IllegalArgumentException - If level is not in the
range [1..9]
and is not -1.
Copyright © 2005-2010 Schlichtherle IT Services. All Rights Reserved.