}
return cacheBlockSizeInt;
}
};
FileNameFilter readFilter = new FileNameFilter() {
@Override
public boolean accept(CacheDirectory directory, String fileName) {
String ext = getExt(fileName);
if (cachingFileExtensionsForRead.contains(ext)) {
return true;
} else if (nonCachingFileExtensionsForRead.contains(ext)) {
return false;
}
return defaultReadCaching;
}
};
FileNameFilter writeFilter = new FileNameFilter() {
@Override
public boolean accept(CacheDirectory directory, String fileName) {
String ext = getExt(fileName);
if (cachingFileExtensionsForWrite.contains(ext)) {
return true;