Interface Converter
- All Known Implementing Classes:
ImageConverter, NoOpConverter, SlidesConverter, XpsConverter
public interface Converter
-
Method Summary
Modifier and TypeMethodDescriptionvoidconvertToPdf(CisConversionResult result, org.springframework.http.MediaType mediaType, Message message) 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
void convertToPdf(CisConversionResult result, org.springframework.http.MediaType mediaType, Message message) 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 gives programming error).- Parameters:
charset-- Throws:
Exception
-