public class CacheFileValidationHandler extends ImplFileValidationHandler
Constructor and Description |
---|
CacheFileValidationHandler() |
Modifier and Type | Method and Description |
---|---|
void |
validate(java.io.File file,
java.lang.String chk,
long size)
Verifies a file against a checksum.
|
public void validate(java.io.File file, java.lang.String chk, long size) throws FileValidationException
validate
in interface FileValidationHandler
validate
in class ImplFileValidationHandler
size
- The file size to validatefile
- the file to verifychk
- the expected checksum for the fileFileValidationException
- the file is not validstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.