TrueZIP 6.8.2

de.schlichtherle.io.archive.tar
Class TarGZipDriver.GZIPOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.util.zip.DeflaterOutputStream
              extended by java.util.zip.GZIPOutputStream
                  extended by de.schlichtherle.io.archive.tar.TarGZipDriver.GZIPOutputStream
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
TarGZipDriver

public static class TarGZipDriver.GZIPOutputStream
extends GZIPOutputStream


Field Summary
 
Fields inherited from class java.util.zip.GZIPOutputStream
crc
 
Fields inherited from class java.util.zip.DeflaterOutputStream
buf, def
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
TarGZipDriver.GZIPOutputStream(OutputStream out, int size, int level)
          Constructs a new GZIPOutputStream with the specified output stream, buffer size and compression level.
 
Method Summary
 
Methods inherited from class java.util.zip.GZIPOutputStream
finish, write
 
Methods inherited from class java.util.zip.DeflaterOutputStream
close, deflate, 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

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.

TrueZIP 6.8.2

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.