Class Checksums
- java.lang.Object
-
- com.googlecode.download.maven.plugin.internal.checksum.Checksums
-
public final class Checksums extends Object
Checksums supplied to verify file integrity.- Author:
- Paul Polishchuk
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValid(File file)Validates the file with supplied checksums.voidvalidate(File file)Validates the file with supplied checksums.
-
-
-
Method Detail
-
isValid
public boolean isValid(File file)
Validates the file with supplied checksums.- Parameters:
file- File to validate.- Returns:
- True if the file matches all supplied checksums or if no checksums were supplied.
-
-