Android Utililty Methods Directory Checksum

List of utility methods to do Directory Checksum


The list of methods to do Directory Checksum are organized into topic(s).


voidchecksumDir(Checksum chk, String path)
Recursively computes the checksum of a given directory tree and adds it to the provided Checksum object.
File dir = new File(path);
if (!dir.exists()) {
    throw new FileNotFoundException(
            "FileUtil.checksumDir: The directory " + path
                    + " does not exist");
if (dir.isDirectory()) {
    String[] names = dir.list();