public class DeflaterOutputStream extends CipherOutputStream
限定符和类型 | 字段和说明 |
---|---|
protected java.util.zip.Deflater |
deflater |
crc, fileHeader, localFileHeader, outputStream, zipModel, zipParameters
构造器和说明 |
---|
DeflaterOutputStream(java.io.OutputStream outputStream,
ZipModel zipModel) |
限定符和类型 | 方法和说明 |
---|---|
void |
closeEntry() |
void |
finish() |
void |
putNextEntry(java.io.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
public DeflaterOutputStream(java.io.OutputStream outputStream, ZipModel zipModel)
public void putNextEntry(java.io.File file, ZipParameters zipParameters) throws ZipException
putNextEntry
在类中 CipherOutputStream
ZipException
public void write(byte[] b) throws java.io.IOException
write
在类中 CipherOutputStream
java.io.IOException
public void write(int bval) throws java.io.IOException
write
在类中 CipherOutputStream
java.io.IOException
public void write(byte[] buf, int off, int len) throws java.io.IOException
write
在类中 CipherOutputStream
java.io.IOException
public void closeEntry() throws java.io.IOException, ZipException
closeEntry
在类中 CipherOutputStream
java.io.IOException
ZipException
public void finish() throws java.io.IOException, ZipException
finish
在类中 CipherOutputStream
java.io.IOException
ZipException