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 voidcheckCRC()IDecryptergetDecrypter()FileHeadergetFileHeader()ZipInputStreamgetInputStream()LocalFileHeadergetLocalFileHeader()ZipModelgetZipModel()RandomAccessFilestartNextSplitFile()voidunzipFile(ProgressMonitor progressMonitor, String outPath, String newFileName, UnzipParameters unzipParameters)voidupdateCRC(byte[] buff, int offset, int len)voidupdateCRC(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:
IOExceptionFileNotFoundException
-
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()
-
-