Interface PreviewUtils

    • 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: