Package com.day.cq.dam.api.s7dam.utils
Interface PreviewUtils
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisDynamicRenditionSupported(Resource resource) Checks whether a resource has dam:scene7Type : Image, AnimatedGif, PsdTemplate, Illustrator, PostScript, Pdf.booleanisImagePreviewSupported(Asset asset) Check based on asset type if asset is supported for image preview or not
-
Method Details
-
isImagePreviewSupported
Check based on asset type if asset is supported for image preview or not- Parameters:
asset-Assetobject for which preview is being checked- Returns:
- boolean
-
isDynamicRenditionSupported
Checks whether a resource has dam:scene7Type : Image, AnimatedGif, PsdTemplate, Illustrator, PostScript, Pdf.- Parameters:
resource-Resourceobject for which preview is being checked- Returns:
- boolean
-