public class HeaderWriter
extends java.lang.Object
构造器和说明 |
---|
HeaderWriter() |
限定符和类型 | 方法和说明 |
---|---|
void |
finalizeZipFile(ZipModel zipModel,
java.io.OutputStream outputStream)
Processes zip header data and writes this data to the zip file
|
void |
finalizeZipFileWithoutValidations(ZipModel zipModel,
java.io.OutputStream outputStream)
Processes zip header data and writes this data to the zip file without any validations.
|
void |
updateLocalFileHeader(LocalFileHeader localFileHeader,
long offset,
int toUpdate,
ZipModel zipModel,
byte[] bytesToWrite,
int noOfDisk,
SplitOutputStream outputStream) |
int |
writeExtendedLocalHeader(LocalFileHeader localFileHeader,
java.io.OutputStream outputStream) |
int |
writeLocalFileHeader(ZipModel zipModel,
LocalFileHeader localFileHeader,
java.io.OutputStream outputStream) |
public int writeLocalFileHeader(ZipModel zipModel, LocalFileHeader localFileHeader, java.io.OutputStream outputStream) throws ZipException
ZipException
public int writeExtendedLocalHeader(LocalFileHeader localFileHeader, java.io.OutputStream outputStream) throws ZipException, java.io.IOException
ZipException
java.io.IOException
public void finalizeZipFile(ZipModel zipModel, java.io.OutputStream outputStream) throws ZipException
zipModel
- outputStream
- ZipException
public void finalizeZipFileWithoutValidations(ZipModel zipModel, java.io.OutputStream outputStream) throws ZipException
zipModel
- outputStream
- ZipException
public void updateLocalFileHeader(LocalFileHeader localFileHeader, long offset, int toUpdate, ZipModel zipModel, byte[] bytesToWrite, int noOfDisk, SplitOutputStream outputStream) throws ZipException
ZipException