public class CacheFileProps
extends java.lang.Object
| Constructor and Description |
|---|
CacheFileProps(java.io.File cacheFile)
Construct a CacheFileProps specifying which cache file the properties belong to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete the cache file's associated properties file.
|
boolean |
exists()
Does a properties file exist for the cache file?
|
long |
fileSize()
Size of the properties file or 0 if it does not exist.
|
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.
|
public CacheFileProps(java.io.File cacheFile)
cachedFile - public void load()
public void store()
public void delete()
public boolean exists()
public long fileSize()
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()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.