public static interface FileCache.Validator
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.
|
void checkValidity(URL url, File file) throws IOException
url
- The URL being downloadedfile
- The file that needs to be validatedIOException
- If validation failsCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.