public interface VerifySpec
| Modifier and Type | Method and Description |
|---|---|
void |
algorithm(java.lang.String algorithm)
Set the algorithm to use to compute the checksum.
|
void |
checksum(java.lang.String checksum)
Set the actual checksum to verify against
|
java.lang.String |
getAlgorithm() |
java.lang.String |
getChecksum() |
java.io.File |
getSrc() |
void |
src(java.lang.Object src)
Sets the file to verify
|
void src(java.lang.Object src)
src - the file (either a filename or a File object)void algorithm(java.lang.String algorithm)
algorithm - the name of the algorithmvoid checksum(java.lang.String checksum)
checksum - the checksum (in hex)java.io.File getSrc()
java.lang.String getAlgorithm()
java.lang.String getChecksum()