Class PDFRenditionConverter
java.lang.Object
com.flowable.rendition.BaseContentConverter
com.flowable.platform.rendition.converter.PlatformRenditionConverter
com.flowable.platform.rendition.converter.PDFRenditionConverter
- All Implemented Interfaces:
com.flowable.rendition.api.RenditionConverter
public class PDFRenditionConverter extends PlatformRenditionConverter
- Author:
- Yvo Swillens
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>
contentTypes
Fields inherited from class com.flowable.platform.rendition.converter.PlatformRenditionConverter
asposeLicenseInitialized, asposeProducts, MAX_WIDTH_HEIGHT
-
Constructor Summary
Constructors Constructor Description PDFRenditionConverter()
-
Method Summary
Modifier and Type Method Description void
addSupportedContentType(java.lang.String contentType)
void
createPDFRendition(java.io.InputStream is, java.io.OutputStream renditionOutputStream)
void
createThumbnailRendition(java.io.InputStream is, java.io.OutputStream renditionOutputStream)
protected java.util.List<java.lang.String>
getSupportedContentTypes()
boolean
isPDFRenditionSupported()
boolean
isThumbnailRenditionSupported()
void
setSupportedContentTypes(java.util.List<java.lang.String> supportedContentTypes)
Methods inherited from class com.flowable.platform.rendition.converter.PlatformRenditionConverter
getScaledDimension, getWordThumbnailSaveOptions, initLicenses
-
Field Details
-
contentTypes
protected java.util.List<java.lang.String> contentTypes
-
-
Constructor Details
-
PDFRenditionConverter
public PDFRenditionConverter()
-
-
Method Details
-
isPDFRenditionSupported
public boolean isPDFRenditionSupported()- Specified by:
isPDFRenditionSupported
in interfacecom.flowable.rendition.api.RenditionConverter
- Specified by:
isPDFRenditionSupported
in classcom.flowable.rendition.BaseContentConverter
-
isThumbnailRenditionSupported
public boolean isThumbnailRenditionSupported()- Specified by:
isThumbnailRenditionSupported
in interfacecom.flowable.rendition.api.RenditionConverter
- Specified by:
isThumbnailRenditionSupported
in classcom.flowable.rendition.BaseContentConverter
-
createPDFRendition
public void createPDFRendition(java.io.InputStream is, java.io.OutputStream renditionOutputStream) throws java.lang.Exception- Specified by:
createPDFRendition
in classcom.flowable.rendition.BaseContentConverter
- Throws:
java.lang.Exception
-
createThumbnailRendition
public void createThumbnailRendition(java.io.InputStream is, java.io.OutputStream renditionOutputStream) throws java.lang.Exception- Specified by:
createThumbnailRendition
in classcom.flowable.rendition.BaseContentConverter
- Throws:
java.lang.Exception
-
getSupportedContentTypes
protected java.util.List<java.lang.String> getSupportedContentTypes()- Specified by:
getSupportedContentTypes
in classcom.flowable.rendition.BaseContentConverter
-
addSupportedContentType
public void addSupportedContentType(java.lang.String contentType)- Specified by:
addSupportedContentType
in interfacecom.flowable.rendition.api.RenditionConverter
- Specified by:
addSupportedContentType
in classcom.flowable.rendition.BaseContentConverter
-
setSupportedContentTypes
public void setSupportedContentTypes(java.util.List<java.lang.String> supportedContentTypes)- Specified by:
setSupportedContentTypes
in interfacecom.flowable.rendition.api.RenditionConverter
- Specified by:
setSupportedContentTypes
in classcom.flowable.rendition.BaseContentConverter
-