Java org.apache.pdfbox.multipdf PDFMergerUtility fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.multipdf PDFMergerUtility fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.multipdf PDFMergerUtility.

The text is from its open source code.

Constructor

PDFMergerUtility()
Instantiate a new PDFMergerUtility.

Method

voidaddSource(String source)
Add a source file to the list of files to merge.
voidaddSource(File source)
Add a source file to the list of files to merge.
voidaddSource(InputStream source)
Add a source to the list of documents to merge.
voidaddSources(List sourcesList)
Add a list of sources to the list of documents to merge.
voidappendDocument(PDDocument destination, PDDocument source)
append all pages from source to destination.
voidmergeDocuments(MemoryUsageSetting memUsageSetting)
Merge the list of source documents, saving the result in the destination file.
voidsetDestinationDocumentInformation(PDDocumentInformation info)
Set the destination document information that is to be set in #mergeDocuments(org.apache.pdfbox.io.MemoryUsageSetting) .
voidsetDestinationFileName(String destination)
Set the name of the destination file.
voidsetDestinationMetadata(PDMetadata meta)
Set the destination metadata that is to be set in #mergeDocuments(org.apache.pdfbox.io.MemoryUsageSetting) .
voidsetDestinationStream(OutputStream destStream)
Set the destination OutputStream.