|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileCacheEntry
Method Summary | |
---|---|
Object |
getDocument()
Get the Document |
File |
getFile()
Get the file descriptor |
long |
getLastAccessed()
Get the cache's lastAccessed stamp |
Date |
getLastModified()
Get the entry's lastModified stamp (which may be stale compared to file's stamp) |
void |
setDocument(Object document)
Set the Document in the cache |
void |
setFile(File file)
Set the file descriptor |
void |
setLastAccessed(long lastAccessed)
Set the cache's last accessed stamp |
void |
setLastModified(Date lastModified)
Set the cache's last modified stamp |
Method Detail |
---|
File getFile()
void setFile(File file)
file
- the new file descriptorvoid setLastAccessed(long lastAccessed)
lastAccessed
- the cache's last access stamplong getLastAccessed()
void setLastModified(Date lastModified)
lastModified
- the cache's last modified stampDate getLastModified()
void setDocument(Object document)
document
- the document being cachedObject getDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |