private boolean matches ( File file , byte [ ] digest , Configuration conf ) throws IOException { byte [ ] fileDigest = getDigest ( file , conf ) ; return Arrays . equals ( fileDigest , digest ) ; }
Determines whether the digest of the specified file matches the given digest .