public interface RenditionConverter
Modifier and Type | Method and Description |
---|---|
void |
addSupportedContentType(String contentType) |
ContentRendition |
generatePDF(InputStream is) |
ContentRendition |
generateThumbnail(InputStream is) |
String |
getPdfRenditionMimeType() |
String |
getThumbnailRenditionMimeType() |
boolean |
handlesContentType(String contentType) |
boolean |
isPDFRenditionSupported() |
boolean |
isThumbnailRenditionSupported() |
void |
setSupportedContentTypes(List<String> contentTypes) |
ContentRendition generatePDF(InputStream is) throws Exception
Exception
ContentRendition generateThumbnail(InputStream is) throws Exception
Exception
String getPdfRenditionMimeType()
String getThumbnailRenditionMimeType()
boolean handlesContentType(String contentType)
void addSupportedContentType(String contentType)
boolean isPDFRenditionSupported()
boolean isThumbnailRenditionSupported()