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, updateTotalBytesReadpublic DeflaterOutputStream(java.io.OutputStream outputStream,
ZipModel zipModel)
public void putNextEntry(java.io.File file,
ZipParameters zipParameters)
throws ZipException
putNextEntry 在类中 CipherOutputStreamZipExceptionpublic void write(byte[] b)
throws java.io.IOException
write 在类中 CipherOutputStreamjava.io.IOExceptionpublic void write(int bval)
throws java.io.IOException
write 在类中 CipherOutputStreamjava.io.IOExceptionpublic void write(byte[] buf,
int off,
int len)
throws java.io.IOException
write 在类中 CipherOutputStreamjava.io.IOExceptionpublic void closeEntry()
throws java.io.IOException,
ZipException
closeEntry 在类中 CipherOutputStreamjava.io.IOExceptionZipExceptionpublic void finish()
throws java.io.IOException,
ZipException
finish 在类中 CipherOutputStreamjava.io.IOExceptionZipException