Package com.flowable.rendition.api
Interface RenditionConverter
- 
- All Known Implementing Classes:
 BaseContentConverter
public interface RenditionConverter- Author:
 - Yvo Swillens
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSupportedContentType(String contentType)ContentRenditiongeneratePDF(InputStream is)ContentRenditiongenerateThumbnail(InputStream is)StringgetPdfRenditionMimeType()StringgetThumbnailRenditionMimeType()booleanhandlesContentType(String contentType)booleanisPDFRenditionSupported()booleanisThumbnailRenditionSupported()voidsetSupportedContentTypes(List<String> contentTypes) 
 - 
 
- 
- 
Method Detail
- 
generatePDF
ContentRendition generatePDF(InputStream is) throws Exception
- Throws:
 Exception
 
- 
generateThumbnail
ContentRendition generateThumbnail(InputStream is) throws Exception
- Throws:
 Exception
 
- 
getPdfRenditionMimeType
String getPdfRenditionMimeType()
 
- 
getThumbnailRenditionMimeType
String getThumbnailRenditionMimeType()
 
- 
handlesContentType
boolean handlesContentType(String contentType)
 
- 
addSupportedContentType
void addSupportedContentType(String contentType)
 
- 
isPDFRenditionSupported
boolean isPDFRenditionSupported()
 
- 
isThumbnailRenditionSupported
boolean isThumbnailRenditionSupported()
 
 - 
 
 -