Purple Code

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)
           
 

Method Detail

test

public boolean test(java.io.File f,
                    java.lang.Object current)
Parameters:
f - the file we're thinking of reloading
current - 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)

Documentation generated March 5 2003