FilesCache, VfsComponentpublic class NullFilesCache extends AbstractFilesCache
FilesCache implementation.| Constructor | Description |
|---|---|
NullFilesCache() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear(FileSystem filesystem) |
purge the entries corresponding to the filesystem
|
void |
close() |
Closes the provider.
|
FileObject |
getFile(FileSystem filesystem,
FileName name) |
retrieve a file from the cache by its name
|
void |
putFile(FileObject file) |
add a fileobject to the cache
|
void |
removeFile(FileSystem filesystem,
FileName name) |
removes a file from cache
|
void |
touchFile(FileObject file) |
getContext, getLogger, init, setContext, setLoggerpublic void putFile(FileObject file)
FilesCachefile - the filepublic FileObject getFile(FileSystem filesystem, FileName name)
FilesCachename - the namepublic void clear(FileSystem filesystem)
FilesCachepublic void close()
AbstractVfsComponentclose in interface FilesCacheclose in interface VfsComponentclose in class AbstractVfsComponentpublic void removeFile(FileSystem filesystem, FileName name)
FilesCachefilesystem - filesystemname - filenamepublic void touchFile(FileObject file)