private static class ConditionsReader.DetectorFileValidator extends Object implements FileCache.Validator
Modifier | Constructor and Description |
---|---|
private |
ConditionsReader.DetectorFileValidator() |
Modifier and Type | Method and Description |
---|---|
void |
checkValidity(URL url,
File file)
Called after a file has been downloaded but before it is placed in
the cache, This method should throw an IOException if the file fails
to validate.
|
private ConditionsReader.DetectorFileValidator()
public void checkValidity(URL url, File file) throws IOException
FileCache.Validator
checkValidity
in interface FileCache.Validator
url
- The URL being downloadedfile
- The file that needs to be validatedIOException
- If validation failsCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.