net.lingala.zip4j.io
Class ZipOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by net.lingala.zip4j.io.BaseOutputStream
          extended by net.lingala.zip4j.io.CipherOutputStream
              extended by net.lingala.zip4j.io.DeflaterOutputStream
                  extended by net.lingala.zip4j.io.ZipOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class ZipOutputStream
extends DeflaterOutputStream


Field Summary
 
Fields inherited from class net.lingala.zip4j.io.DeflaterOutputStream
deflater
 
Fields inherited from class net.lingala.zip4j.io.CipherOutputStream
crc, fileHeader, localFileHeader, outputStream, zipModel, zipParameters
 
Constructor Summary
ZipOutputStream(OutputStream outputStream)
           
ZipOutputStream(OutputStream outputStream, ZipModel zipModel)
           
 
Method Summary
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int bval)
           
 
Methods inherited from class net.lingala.zip4j.io.DeflaterOutputStream
closeEntry, finish, putNextEntry
 
Methods inherited from class net.lingala.zip4j.io.CipherOutputStream
close, decrementCompressedFileSize, getSourceFile, setSourceFile, updateTotalBytesRead
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipOutputStream

public ZipOutputStream(OutputStream outputStream)

ZipOutputStream

public ZipOutputStream(OutputStream outputStream,
                       ZipModel zipModel)
Method Detail

write

public void write(int bval)
           throws IOException
Overrides:
write in class DeflaterOutputStream
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Overrides:
write in class DeflaterOutputStream
Throws:
IOException

write

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


Copyright © 2012. All Rights Reserved.