public class PdfUtilities
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GS_INSTALL |
Constructor and Description |
---|
PdfUtilities() |
Modifier and Type | Method and Description |
---|---|
static java.io.File[] |
convertPdf2Png(java.io.File inputPdfFile)
Converts PDF to PNG format.
|
static java.io.File |
convertPdf2Tiff(java.io.File inputPdfFile)
Converts PDF to TIFF format.
|
static int |
getPdfPageCount(java.lang.String inputPdfFile)
Gets PDF Page Count.
|
static void |
mergePdf(java.io.File[] inputPdfFiles,
java.io.File outputPdfFile)
Merge PDF files.
|
static void |
splitPdf(java.lang.String inputPdfFile,
java.lang.String outputPdfFile,
java.lang.String firstPage,
java.lang.String lastPage)
Splits PDF.
|
public static final java.lang.String GS_INSTALL
public static java.io.File convertPdf2Tiff(java.io.File inputPdfFile) throws java.io.IOException
inputPdfFile
- java.io.IOException
public static java.io.File[] convertPdf2Png(java.io.File inputPdfFile)
inputPdfFile
- public static void splitPdf(java.lang.String inputPdfFile, java.lang.String outputPdfFile, java.lang.String firstPage, java.lang.String lastPage)
inputPdfFile
- outputPdfFile
- firstPage
- lastPage
- public static int getPdfPageCount(java.lang.String inputPdfFile)
inputPdfFile
- public static void mergePdf(java.io.File[] inputPdfFiles, java.io.File outputPdfFile)
inputPdfFiles
- outputPdfFile
-