Package eu.bandm.tools.installer
Class CallDigest
java.lang.Object
eu.bandm.tools.installer.CallDigest
Generate a digest number over a tree of files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic @eu.bandm.tools.annotations.Opt byte[]
recursively
(String digestType, File top) Apply a digest (crc32, md5, sha1 etc.) generation on all files directly or indirectly adressed by the given file (=single file or directory).
-
Method Details
-
recursively
Apply a digest (crc32, md5, sha1 etc.) generation on all files directly or indirectly adressed by the given file (=single file or directory). Cf. example at http://stackoverflow.com/questions/304268/getting-a-files-md5-checksum-in-java, paragraph 72- Returns:
- null in case of any error (which mostly means a file system inconsistency)
-