Interface CisConversionService
- All Known Implementing Classes:
CisConversionServiceImpl
public interface CisConversionService
- Author:
- Gerard van der Hoorn
-
Method Summary
Modifier and TypeMethodDescriptionconvertToPdf
(Message input, String filename, ConversionOption conversionOption) This will try to convert the given inputStream to a pdf.
-
Method Details
-
convertToPdf
CisConversionResult convertToPdf(Message input, String filename, ConversionOption conversionOption) throws IOException This will try to convert the given inputStream to a pdf.The given document stream is not closed by this method.
- Parameters:
input
-filename
- (without the path). Is used to detect mediatype and inform the user of the name of the file. Is allowed to be null.- Throws:
IOException
CisConversionException
- when a failure occurs.
-