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 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)
-
-
-
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()
-
-