net.lingala.zip4j.io
Class DeflaterOutputStream
java.lang.Object
java.io.OutputStream
net.lingala.zip4j.io.BaseOutputStream
net.lingala.zip4j.io.CipherOutputStream
net.lingala.zip4j.io.DeflaterOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
- Direct Known Subclasses:
- ZipOutputStream
public class DeflaterOutputStream
- extends CipherOutputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deflater
protected Deflater deflater
DeflaterOutputStream
public DeflaterOutputStream(OutputStream outputStream,
ZipModel zipModel)
putNextEntry
public void putNextEntry(File file,
ZipParameters zipParameters)
throws ZipException
- Overrides:
putNextEntry
in class CipherOutputStream
- Throws:
ZipException
write
public void write(byte[] b)
throws IOException
- Overrides:
write
in class CipherOutputStream
- Throws:
IOException
write
public void write(int bval)
throws IOException
- Overrides:
write
in class CipherOutputStream
- Throws:
IOException
write
public void write(byte[] buf,
int off,
int len)
throws IOException
- Overrides:
write
in class CipherOutputStream
- Throws:
IOException
closeEntry
public void closeEntry()
throws IOException,
ZipException
- Overrides:
closeEntry
in class CipherOutputStream
- Throws:
IOException
ZipException
finish
public void finish()
throws IOException,
ZipException
- Overrides:
finish
in class CipherOutputStream
- Throws:
IOException
ZipException
Copyright © 2012. All Rights Reserved.