Package com.day.cq.dam.api.s7dam.utils
Interface PreviewUtils
-
@ProviderType public interface PreviewUtils
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isDynamicRenditionSupported(Resource resource)
Checks whether a resource has dam:scene7Type : Image, AnimatedGif, PsdTemplate, Illustrator, PostScript, Pdf.boolean
isImagePreviewSupported(Asset asset)
Check based on asset type if asset is supported for image preview or not
-
-
-
Method Detail
-
isImagePreviewSupported
boolean isImagePreviewSupported(Asset asset)
Check based on asset type if asset is supported for image preview or not- Parameters:
asset
-Asset
object for which preview is being checked- Returns:
- boolean
-
isDynamicRenditionSupported
boolean isDynamicRenditionSupported(Resource resource)
Checks whether a resource has dam:scene7Type : Image, AnimatedGif, PsdTemplate, Illustrator, PostScript, Pdf.- Parameters:
resource
-- Returns:
-
-