Class DocumentUtils

java.lang.Object
com.flowable.platform.rendition.util.DocumentUtils

public class DocumentUtils
extends java.lang.Object
Author:
Jose Antonio Alvarez
  • Method Summary

    Modifier and Type Method Description
    static java.io.InputStream mergePdfDocuments​(java.io.InputStream... inputStreams)
    Merges several pdf documents into a single one

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • mergePdfDocuments

      public static java.io.InputStream mergePdfDocuments​(java.io.InputStream... inputStreams) throws java.io.IOException
      Merges several pdf documents into a single one
      Parameters:
      inputStreams - the InputStreams of pdf documents to join
      Returns:
      an InputStream of the merged pdf document
      Throws:
      java.io.IOException - if some I/O error happens