Package net.lingala.zip4j.unzip
Class UnzipEngine
- java.lang.Object
-
- net.lingala.zip4j.unzip.UnzipEngine
-
public class UnzipEngine extends Object
-
-
Constructor Summary
Constructors Constructor Description UnzipEngine(ZipModel zipModel, FileHeader fileHeader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkCRC()
IDecrypter
getDecrypter()
FileHeader
getFileHeader()
ZipInputStream
getInputStream()
LocalFileHeader
getLocalFileHeader()
ZipModel
getZipModel()
RandomAccessFile
startNextSplitFile()
void
unzipFile(ProgressMonitor progressMonitor, String outPath, String newFileName, UnzipParameters unzipParameters)
void
updateCRC(byte[] buff, int offset, int len)
void
updateCRC(int b)
-
-
-
Constructor Detail
-
UnzipEngine
public UnzipEngine(ZipModel zipModel, FileHeader fileHeader) throws ZipException
- Throws:
ZipException
-
-
Method Detail
-
unzipFile
public void unzipFile(ProgressMonitor progressMonitor, String outPath, String newFileName, UnzipParameters unzipParameters) throws ZipException
- Throws:
ZipException
-
getInputStream
public ZipInputStream getInputStream() throws ZipException
- Throws:
ZipException
-
checkCRC
public void checkCRC() throws ZipException
- Throws:
ZipException
-
startNextSplitFile
public RandomAccessFile startNextSplitFile() throws IOException, FileNotFoundException
- Throws:
IOException
FileNotFoundException
-
updateCRC
public void updateCRC(int b)
-
updateCRC
public void updateCRC(byte[] buff, int offset, int len)
-
getFileHeader
public FileHeader getFileHeader()
-
getDecrypter
public IDecrypter getDecrypter()
-
getZipModel
public ZipModel getZipModel()
-
getLocalFileHeader
public LocalFileHeader getLocalFileHeader()
-
-