|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VerifySpec
An interface for checksum checks
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||