Interface PreviewUtils


@ProviderType public interface PreviewUtils
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether a resource has dam:scene7Type : Image, AnimatedGif, PsdTemplate, Illustrator, PostScript, Pdf.
    boolean
    Check based on asset type if asset is supported for image preview or not
  • Method Details

    • 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 - Resource object for which preview is being checked
      Returns:
      boolean