Class DocumentUtils


  • public class DocumentUtils
    extends Object
    Author:
    Jose Antonio Alvarez
    • Method Detail

      • mergePdfDocuments

        public static InputStream mergePdfDocuments​(InputStream... inputStreams)
                                             throws 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:
        IOException - if some I/O error happens