|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.boot.cache.FileCacheStore
file storage of the file cache
| Method Summary | |
FCResource |
findPreviousVersion(java.io.File file)
Find the latest previous version of the given file. |
FCResource |
getResource(java.io.File resourceFile,
java.net.URL urlRemote)
Retrieve a resource from the cache. |
FCResource |
storeResource(java.io.File file,
Result result,
byte[] content,
java.net.URL urlRemote,
boolean bmode)
Put a resource into the cache. |
FCResource |
storeResource(java.io.File file,
Result result,
java.net.URL urlRemote,
IFileCacheResource temp,
boolean bmode,
boolean bforce)
Put a resource into the cache. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public FCResource getResource(java.io.File resourceFile,
java.net.URL urlRemote)
resourceFile - the File to retrieveurlRemote - the ULR of the resource on the server
public FCResource storeResource(java.io.File file,
Result result,
java.net.URL urlRemote,
IFileCacheResource temp,
boolean bmode,
boolean bforce)
throws java.io.IOException
file - to write the content intoresult - content of the resource as received from the serverurlRemote - of the content on the servertemp - old expired version of the resource if exists in the cachebmode - if true the content of the resource file is read into memory imeditatelybforce - indicates if an update of the resource was forced
java.io.IOException - containing the filename
public FCResource storeResource(java.io.File file,
Result result,
byte[] content,
java.net.URL urlRemote,
boolean bmode)
throws java.io.IOException
file - to write the content intoresult - the resource as received from the servercontent - to store into the fileurlRemote - of the content on the serverbmode - if true the content of the resource file is read into memory imeditately
java.io.IOException - containing the filenamepublic FCResource findPreviousVersion(java.io.File file)
file - for which to search the previous version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||