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, saveCacheFile
public static final java.lang.String PDF_CACHE_FOLDER
public CmsPdfCache()
public java.lang.String getCacheName(CmsResource resource, java.lang.String parameters)
CmsVfsNameBasedDiskCache
getCacheName
in class CmsVfsNameBasedDiskCache
resource
- 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)