Interface Convertor
- All Known Implementing Classes:
PdfConvertor
,PdfImageConvertor
,PdfStandaardConvertor
,SlidesConvertor
public interface Convertor
-
Method Summary
Modifier and TypeMethodDescriptionconvertToPdf
(org.springframework.http.MediaType mediaType, String filename, Message message, ConversionOption conversionOption, String charset) Converts the given file to a pdf.Set
<org.springframework.http.MediaType> Returns the supported media types.
-
Method Details
-
getSupportedMediaTypes
Set<org.springframework.http.MediaType> getSupportedMediaTypes()Returns the supported media types. -
convertToPdf
CisConversionResult convertToPdf(org.springframework.http.MediaType mediaType, String filename, Message message, ConversionOption conversionOption, String charset) 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 gives programming error).- Parameters:
charset
-
-