public class DeflaterOutputStream extends CipherOutputStream
| Modifier and Type | Field and Description |
|---|---|
protected Deflater |
deflater |
crc, fileHeader, localFileHeader, outputStream, zipModel, zipParameters| Constructor and Description |
|---|
DeflaterOutputStream(OutputStream outputStream,
ZipModel zipModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeEntry() |
void |
finish() |
void |
putNextEntry(File file,
ZipParameters zipParameters) |
void |
write(byte[] b) |
void |
write(byte[] buf,
int off,
int len) |
void |
write(int bval) |
close, decrementCompressedFileSize, getSourceFile, setSourceFile, updateTotalBytesReadflushprotected Deflater deflater
public DeflaterOutputStream(OutputStream outputStream, ZipModel zipModel)
public void putNextEntry(File file, ZipParameters zipParameters) throws ZipException
putNextEntry in class CipherOutputStreamZipExceptionpublic void write(byte[] b)
throws IOException
write in class CipherOutputStreamIOExceptionpublic void write(int bval)
throws IOException
write in class CipherOutputStreamIOExceptionpublic void write(byte[] buf,
int off,
int len)
throws IOException
write in class CipherOutputStreamIOExceptionpublic void closeEntry()
throws IOException,
ZipException
closeEntry in class CipherOutputStreamIOExceptionZipExceptionpublic void finish()
throws IOException,
ZipException
finish in class CipherOutputStreamIOExceptionZipExceptionCopyright © 2013. All rights reserved.