public class CacheFileProps extends Object
Constructor and Description |
---|
CacheFileProps(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.
|
String |
getContentUrl()
Get the value of the contentUrl property.
|
Integer |
getDeleteWatchCount()
Get the value of the deleteWatchCount property.
|
void |
load()
Load properties from the cache file's associated properties file.
|
void |
setContentUrl(String url)
Set the value of the contentUrl property.
|
void |
setDeleteWatchCount(Integer watchCount)
Set the value of the deleteWatchCount property.
|
void |
store()
Save properties to the cache file's associated properties file.
|
public CacheFileProps(File cacheFile)
cacheFile
- - cache filepublic void load()
public void store()
public void delete()
public boolean exists()
public long fileSize()
public void setContentUrl(String url)
url
- Stringpublic String getContentUrl()
public void setDeleteWatchCount(Integer watchCount)
watchCount
- Integerpublic Integer getDeleteWatchCount()
Copyright © 2005–2017 Alfresco Software. All rights reserved.