PDF4Java Reference Documentation
com.o2sol.pdf4java.utilities Package / PDFMerger Class / mergeFiles Method / mergeFiles(String,String[]) Method
Path to file where to save the merged file.
Array of files names representing the PDF files to merge.
Collapse All Expand All
In This Topic

mergeFiles(String,String[]) Method
In This Topic
Merges multiple PDF files into a single one.
Syntax

    public static void mergeFiles(
       java.lang.String outputFile,
       java.lang.String[] inputFiles
    )

#### Parameters

outputFile
  Path to file where to save the merged file.
inputFiles
  Array of files names representing the PDF files to merge.

See Also

#### Reference

PDFMerger Class
PDFMerger Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.