Package org.opencms.pdftools
Class CmsPdfThumbnailCache
java.lang.Object
org.opencms.cache.CmsVfsNameBasedDiskCache
org.opencms.pdftools.CmsPdfThumbnailCache
Cache for PDF thumbnails.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCacheName
(CmsResource resource, String parameters) Returns the RFS name to use for caching the given VFS resource with parameters in the disk cache.Methods inherited from class org.opencms.cache.CmsVfsNameBasedDiskCache
getCacheContent, getRepositoryPath, hasCacheContent, saveCacheFile
-
Field Details
-
PDF_CACHE_FOLDER
The folder name for the cache folder.- See Also:
-
-
Constructor Details
-
CmsPdfThumbnailCache
public CmsPdfThumbnailCache()Creates a new cache instance.
-
-
Method Details
-
getCacheName
Description copied from class:CmsVfsNameBasedDiskCache
Returns the RFS name to use for caching the given VFS resource with parameters in the disk cache.- Overrides:
getCacheName
in classCmsVfsNameBasedDiskCache
- Parameters:
resource
- the VFS resource to generate the cache name forparameters
- the parameters of the request to the VFS resource- Returns:
- the RFS name to use for caching the given VFS resource with parameters
- See Also:
-