|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.vietocr.PdfUtilities
public class PdfUtilities
Field Summary | |
---|---|
static java.lang.String |
GS_INSTALL
|
Constructor Summary | |
---|---|
PdfUtilities()
|
Method Summary | |
---|---|
static java.io.File[] |
convertPdf2Png(java.io.File inputPdfFile)
Convert PDF to PNG format. |
static java.io.File |
convertPdf2Tiff(java.io.File inputPdfFile)
Convert PDF to TIFF format. |
static int |
getPdfPageCount(java.lang.String inputPdfFile)
Get 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)
Split PDF. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GS_INSTALL
Constructor Detail |
---|
public PdfUtilities()
Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |