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, updateTotalBytesRead
flush
protected Deflater deflater
public DeflaterOutputStream(OutputStream outputStream, ZipModel zipModel)
public void putNextEntry(File file, ZipParameters zipParameters) throws ZipException
putNextEntry
in class CipherOutputStream
ZipException
public void write(byte[] b) throws IOException
write
in class CipherOutputStream
IOException
public void write(int bval) throws IOException
write
in class CipherOutputStream
IOException
public void write(byte[] buf, int off, int len) throws IOException
write
in class CipherOutputStream
IOException
public void closeEntry() throws IOException, ZipException
closeEntry
in class CipherOutputStream
IOException
ZipException
public void finish() throws IOException, ZipException
finish
in class CipherOutputStream
IOException
ZipException
Copyright © 2013. All rights reserved.