Class SlidesConverter

java.lang.Object
org.frankframework.extensions.aspose.converters.SlidesConverter
All Implemented Interfaces:
Converter

public class SlidesConverter extends Object
Converts the files which are required and supported by the Aspose slides library.
  • Field Details

    • PDF_MIMETYPE

      protected static final org.springframework.util.MimeType PDF_MIMETYPE
    • configuration

      protected CisConfiguration configuration
  • Constructor Details

  • Method Details

    • convert

      public Message convert(org.springframework.http.MediaType mediaType, Message input) throws Exception
      Converts the given file to a PDF. MediaType is the detected media type of the file. The convertor should support the given mediaType (otherwise it is a programming error).
      Throws:
      Exception
    • isPasswordException

      protected boolean isPasswordException(Exception e)
    • getSupportedMediaTypes

      public Set<org.springframework.http.MediaType> getSupportedMediaTypes()
      Returns the supported media types.
      Specified by:
      getSupportedMediaTypes in interface Converter
    • convertToPdf

      public void convertToPdf(CisConversionResult result, org.springframework.http.MediaType mediaType, Message message) throws Exception
      Should not be overloaded by the concrete classes.
      Specified by:
      convertToPdf in interface Converter
      Throws:
      Exception