|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The fileCache interface
Method Summary | |
void |
clear(FileSystem filesystem)
purge the entries corresponding to the filesystem |
void |
close()
purge the whole cache |
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 |
Method Detail |
public void putFile(FileObject file)
file
- the filepublic FileObject getFile(FileSystem filesystem, FileName name)
name
- the name
public void clear(FileSystem filesystem)
public void close()
public void removeFile(FileSystem filesystem, FileName name)
filesystem
- filesystemname
- filename
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |