public class PDFUtils extends Object
| Constructor and Description |
|---|
PDFUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.pdfbox.pdmodel.PDDocumentInformation |
buildDocInfo(String author,
String producer) |
static void |
main(String[] args) |
static void |
mergeFiles(List<File> sourceFiles,
File targetFile,
org.apache.pdfbox.pdmodel.PDDocumentInformation docInfo)
merge PDF files
|
static void |
mergeFiles(List<String> sourceFiles,
String targetFile,
org.apache.pdfbox.pdmodel.PDDocumentInformation docInfo)
merge PDF files
|
static void |
mergeHttpRemoteFiles(List<String> urls,
File targetFile,
org.apache.pdfbox.pdmodel.PDDocumentInformation docInfo) |
static void |
mergeHttpRemoteFiles(List<String> urls,
OutputStream targetOutputStream,
org.apache.pdfbox.pdmodel.PDDocumentInformation docInfo) |
public static void mergeFiles(List<String> sourceFiles, String targetFile, org.apache.pdfbox.pdmodel.PDDocumentInformation docInfo) throws IOException
sourceFiles - source PDF file path listtargetFile - target PDF file pathIOExceptionpublic static void mergeFiles(List<File> sourceFiles, File targetFile, org.apache.pdfbox.pdmodel.PDDocumentInformation docInfo) throws IOException
sourceFiles - source PDF filestargetFile - target PDF fileIOExceptionpublic static void mergeHttpRemoteFiles(List<String> urls, File targetFile, org.apache.pdfbox.pdmodel.PDDocumentInformation docInfo) throws IOException
IOExceptionpublic static void mergeHttpRemoteFiles(List<String> urls, OutputStream targetOutputStream, org.apache.pdfbox.pdmodel.PDDocumentInformation docInfo) throws IOException
IOExceptionpublic static org.apache.pdfbox.pdmodel.PDDocumentInformation buildDocInfo(String author, String producer)
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2020. All rights reserved.