|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.content.caching.CacheFileProps
public class CacheFileProps
Manage a cache file's associated properties.
Constructor Summary | |
---|---|
CacheFileProps(java.io.File cacheFile)
Construct a CacheFileProps specifying which cache file the properties belong to. |
Method Summary | |
---|---|
void |
delete()
Delete the cache file's associated properties file. |
boolean |
exists()
Does a properties file exist for the cache file? |
java.lang.String |
getContentUrl()
Get the value of the contentUrl property. |
java.lang.Integer |
getDeleteWatchCount()
Get the value of the deleteWatchCount property. |
void |
load()
Load properties from the cache file's associated properties file. |
void |
setContentUrl(java.lang.String url)
Set the value of the contentUrl property. |
void |
setDeleteWatchCount(java.lang.Integer watchCount)
Set the value of the deleteWatchCount property. |
void |
store()
Save properties to the cache file's associated properties file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CacheFileProps(java.io.File cacheFile)
cachedFile
- Method Detail |
---|
public void load()
public void store()
public void delete()
public boolean exists()
public void setContentUrl(java.lang.String url)
url
- public java.lang.String getContentUrl()
public void setDeleteWatchCount(java.lang.Integer watchCount)
watchCount
- public java.lang.Integer getDeleteWatchCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |