@ProviderType
public interface DLPreviewRendererProvider
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
.
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getMimeTypes() |
DLPreviewRenderer |
getPreviewDLPreviewRenderer(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
DLPreviewRenderer |
getThumbnailDLPreviewRenderer(com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
java.util.Set<java.lang.String> getMimeTypes()
DLPreviewRenderer getPreviewDLPreviewRenderer(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
DLPreviewRenderer getThumbnailDLPreviewRenderer(com.liferay.portal.kernel.repository.model.FileVersion fileVersion)