Interface DLPreviewRendererProvider


@ProviderType public interface DLPreviewRendererProvider
Renders file previews in conjunction with DLPreviewRenderer.

Implementations must specify at least one value for the OSGi property content.type, and can be called only for those supported content types. For example, a DLPreviewRendererProvider that can provide previews for PDF files would have the content type settings content.type=application/pdf and content.type=application/x-pdf.

  • Method Details

    • getMimeTypes

      Set<String> getMimeTypes()
    • getPreviewDLPreviewRenderer

      DLPreviewRenderer getPreviewDLPreviewRenderer(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
    • getThumbnailDLPreviewRenderer

      DLPreviewRenderer getThumbnailDLPreviewRenderer(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)