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
- Author:
- Yvo Swillens
-
Field Summary
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSupportedContentType
(String contentType) void
createPDFRendition
(InputStream is, OutputStream renditionOutputStream) void
createThumbnailRendition
(InputStream is, OutputStream renditionOutputStream) boolean
boolean
void
setSupportedContentTypes
(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
-
Field Details
-
contentTypes
-
-
Constructor Details
-
ImageContentConverter
public ImageContentConverter()
-
-
Method Details
-
isPDFRenditionSupported
public boolean isPDFRenditionSupported()- Specified by:
isPDFRenditionSupported
in interfaceRenditionConverter
- Specified by:
isPDFRenditionSupported
in classBaseContentConverter
-
isThumbnailRenditionSupported
public boolean isThumbnailRenditionSupported()- Specified by:
isThumbnailRenditionSupported
in interfaceRenditionConverter
- Specified by:
isThumbnailRenditionSupported
in classBaseContentConverter
-
createPDFRendition
- Specified by:
createPDFRendition
in classBaseContentConverter
- Throws:
Exception
-
createThumbnailRendition
public void createThumbnailRendition(InputStream is, OutputStream renditionOutputStream) throws Exception - Specified by:
createThumbnailRendition
in classBaseContentConverter
- Throws:
Exception
-
getSupportedContentTypes
- Specified by:
getSupportedContentTypes
in classBaseContentConverter
-
addSupportedContentType
- Specified by:
addSupportedContentType
in interfaceRenditionConverter
- Specified by:
addSupportedContentType
in classBaseContentConverter
-
setSupportedContentTypes
- Specified by:
setSupportedContentTypes
in interfaceRenditionConverter
- Specified by:
setSupportedContentTypes
in classBaseContentConverter
-