Class ImageContentConverter
- java.lang.Object
 - 
- com.flowable.rendition.BaseContentConverter
 - 
- com.flowable.platform.rendition.converter.PlatformRenditionConverter
 - 
- com.flowable.platform.rendition.converter.ImageContentConverter
 
 
 
 
- 
- All Implemented Interfaces:
 RenditionConverter
public class ImageContentConverter extends PlatformRenditionConverter
- Author:
 - Yvo Swillens
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected List<String>contentTypes- 
Fields inherited from class com.flowable.platform.rendition.converter.PlatformRenditionConverter
asposeLicenseInitialized, asposeProducts, MAX_WIDTH_HEIGHT 
- 
Fields inherited from class com.flowable.rendition.BaseContentConverter
PDF_RENDITION_MIME_TYPE, PDF_RENDITION_PREFIX, PDF_RENDITION_SUFFIX, THUMBNAIL_RENDITION_MIME_TYPE, THUMBNAIL_RENDITION_PREFIX, THUMBNAIL_RENDITION_SUFFIX 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ImageContentConverter() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSupportedContentType(String contentType)voidcreatePDFRendition(InputStream is, OutputStream renditionOutputStream)voidcreateThumbnailRendition(InputStream is, OutputStream renditionOutputStream)protected List<String>getSupportedContentTypes()booleanisPDFRenditionSupported()booleanisThumbnailRenditionSupported()voidsetSupportedContentTypes(List<String> supportedContentTypes)- 
Methods inherited from class com.flowable.platform.rendition.converter.PlatformRenditionConverter
getScaledDimension, getWordThumbnailSaveOptions, initLicenses 
- 
Methods inherited from class com.flowable.rendition.BaseContentConverter
generatePDF, generateThumbnail, getPdfRenditionMimeType, getThumbnailRenditionMimeType, handlesContentType 
 - 
 
 - 
 
- 
- 
Method Detail
- 
isPDFRenditionSupported
public boolean isPDFRenditionSupported()
- Specified by:
 isPDFRenditionSupportedin interfaceRenditionConverter- Specified by:
 isPDFRenditionSupportedin classBaseContentConverter
 
- 
isThumbnailRenditionSupported
public boolean isThumbnailRenditionSupported()
- Specified by:
 isThumbnailRenditionSupportedin interfaceRenditionConverter- Specified by:
 isThumbnailRenditionSupportedin classBaseContentConverter
 
- 
createPDFRendition
public void createPDFRendition(InputStream is, OutputStream renditionOutputStream) throws Exception
- Specified by:
 createPDFRenditionin classBaseContentConverter- Throws:
 Exception
 
- 
createThumbnailRendition
public void createThumbnailRendition(InputStream is, OutputStream renditionOutputStream) throws Exception
- Specified by:
 createThumbnailRenditionin classBaseContentConverter- Throws:
 Exception
 
- 
getSupportedContentTypes
protected List<String> getSupportedContentTypes()
- Specified by:
 getSupportedContentTypesin classBaseContentConverter
 
- 
addSupportedContentType
public void addSupportedContentType(String contentType)
- Specified by:
 addSupportedContentTypein interfaceRenditionConverter- Specified by:
 addSupportedContentTypein classBaseContentConverter
 
- 
setSupportedContentTypes
public void setSupportedContentTypes(List<String> supportedContentTypes)
- Specified by:
 setSupportedContentTypesin interfaceRenditionConverter- Specified by:
 setSupportedContentTypesin classBaseContentConverter
 
 - 
 
 -