src/main/java/org/jboss/loom/utils/compar/FileHashComparer.java
public static long computeCrc32( File file ) throws IOException {
        try {
            return CRCUtil.computeFileCRC(file.getPath());
        } catch( ZipException ex ) {
            throw new IOException("Can't compute CRC32 of " + file.getPath() + ": " + ex.getMessage(), ex);
        }
    }
/**
     *  Computes CRC32 checksum of given file.
     *  Uses net.lingala.zip4j.util and wraps their exception.
     */
Computes CRC32 checksum of given file.
Uses net.lingala.zip4j.util and wraps their exception.
Computes CRC32 checksum of given file . Uses net . lingala . zip4j . util and wraps their exception .
public static long computeCrc32( File file ) throws IOException {
        try {
            return CRCUtil.computeFileCRC(file.getPath());
        } catch( ZipException ex ) {
            throw new IOException("Can't compute CRC32 of " + file.getPath() + ": " + ex.getMessage(), ex);
        }
    }
public static long computeCrc32 ( File file ) throws IOException { try { return CRCUtil . computeFileCRC ( file . getPath ( ) ) ; } catch ( ZipException ex ) { throw new IOException ( "Can't compute CRC32 of " + file . getPath ( ) + ": " + ex . getMessage ( ) , ex ) ; } }
Computes CRC32 checksum of given file.
Computes CRC32 checksum of given file .