com.purpletech.io
Interface CachedFS.Tester
- Enclosing interface:
- CachedFS
- public static interface CachedFS.Tester
Callback that provides an extra check as to whether a file
needs to be reloaded. For example, if the file's contents point
to other files, then you need to write a tester that checks
those other files too.
|
Method Summary |
boolean |
test(java.io.File f,
java.lang.Object current)
|
test
public boolean test(java.io.File f,
java.lang.Object current)
- Parameters:
f - the file we're thinking of reloadingcurrent - the current data for this file in the cache
- Returns:
- true if the object needs to be reloaded (even if the file didn't change)