public class ImplFileValidationHandler extends java.lang.Object implements FileValidationHandler
Constructor and Description |
---|
ImplFileValidationHandler() |
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(@Nonnull java.io.File file, @Nullable java.lang.String chk, @Nonnegative long size) throws FileValidationException
validate
in interface FileValidationHandler
size
- the file size to validatefile
- the file to verifychk
- the expected checksum for the fileFileValidationException
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.