net.lingala.zip4j.util
Class CRCUtil

java.lang.Object
  extended by net.lingala.zip4j.util.CRCUtil

public class CRCUtil
extends Object


Constructor Summary
CRCUtil()
           
 
Method Summary
static long computeFileCRC(String inputFile)
           
static long computeFileCRC(String inputFile, ProgressMonitor progressMonitor)
          Calculates CRC of a file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRCUtil

public CRCUtil()
Method Detail

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.