public class CmsPdfCache extends CmsVfsNameBasedDiskCache
This class stores all cached files in a single folder.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PDF_CACHE_FOLDER
The folder name for the cache folder.
|
| Constructor and Description |
|---|
CmsPdfCache()
Creates a new cache instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCacheName(CmsResource resource,
java.lang.String parameters)
Returns the RFS name to use for caching the given VFS resource with parameters in the disk cache.
|
getCacheContent, getRepositoryPath, hasCacheContent, saveCacheFilepublic static final java.lang.String PDF_CACHE_FOLDER
public CmsPdfCache()
public java.lang.String getCacheName(CmsResource resource, java.lang.String parameters)
CmsVfsNameBasedDiskCachegetCacheName in class CmsVfsNameBasedDiskCacheresource - the VFS resource to generate the cache name forparameters - the parameters of the request to the VFS resourceCmsVfsNameBasedDiskCache.getCacheName(org.opencms.file.CmsResource, java.lang.String)