Class NoOpConverter
java.lang.Object
org.frankframework.extensions.aspose.converters.NoOpConverter
- All Implemented Interfaces:
Converter
The No-Op converter (no conversion required).
Opens the PDF to verify it can be read (not signed or password-protected).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CisConfigurationprotected static final org.springframework.util.MimeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRead the PDF to ensure it's validity and get the amount of pages.voidconvertToPdf(CisConversionResult result, org.springframework.http.MediaType mediaType, Message message) Should not be overloaded by the concrete classes.Set<org.springframework.http.MediaType> Returns the supported media types.protected boolean
-
Field Details
-
PDF_MIMETYPE
protected static final org.springframework.util.MimeType PDF_MIMETYPE -
configuration
-
-
Constructor Details
-
NoOpConverter
-
-
Method Details
-
convert
public Message convert(org.springframework.http.MediaType mediaType, Message message) throws IOException Read the PDF to ensure it's validity and get the amount of pages.- Throws:
IOException
-
isPasswordException
-
getSupportedMediaTypes
Returns the supported media types.- Specified by:
getSupportedMediaTypesin interfaceConverter
-
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:
convertToPdfin interfaceConverter- Throws:
Exception
-