net.lingala.zip4j.util
Class CRCUtil
java.lang.Object
net.lingala.zip4j.util.CRCUtil
public class CRCUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRCUtil
public CRCUtil()
computeFileCRC
public static long computeFileCRC(String inputFile)
throws ZipException
- Throws:
ZipException
computeFileCRC
public static long computeFileCRC(String inputFile,
ProgressMonitor progressMonitor)
throws ZipException
- Calculates CRC of a file
- Parameters:
inputFile
- - file for which crc has to be calculated
- Returns:
- crc of the file
- Throws:
ZipException
Copyright © 2012. All Rights Reserved.