Class PdfAttachmentUtil

java.lang.Object
org.frankframework.extensions.aspose.converters.PdfAttachmentUtil

public class PdfAttachmentUtil extends Object
This class will combine separate PDF files into a single PDF with attachments.
  • Field Details

  • Method Details

    • combineFiles

      public static @NonNull Message combineFiles(@NonNull Message parent, @NonNull Message attachment, String attachmentName) throws IOException
      Silly code due to Aspose limitations... https://forum.aspose.com/t/filespecification-from-stream-modified-is-unknown/68301/16
      Throws:
      IOException
    • getValidFileName

      public static String getValidFileName(Message input, String extension)
    • getValidFileName

      public static String getValidFileName(Message input, String fallbackName, String extension)