DigestCalculator
public
class
DigestCalculator
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.cache.DigestCalculator
|
Utility methods to compute Digest
.
Summary
Public methods |
static
Digest
|
compute(File file)
Computes a digest for a file.
|
Fields
DIGEST_FUNCTION
public static final DigestFunction.Value DIGEST_FUNCTION
Public constructors
DigestCalculator
public DigestCalculator ()
Public methods
compute
public static Digest compute (File file)
Computes a digest for a file.
Parameters |
file |
File : the ERROR(/File) that the digest is calculated for |
Returns |
Digest |
the Digest of the file |