Package org.javlo.helper
Class PDFHelper
- java.lang.Object
-
- org.javlo.helper.PDFHelper
-
public class PDFHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description PDFHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BufferedImage
getPDFImage(File pdfFile, int page)
static List<BufferedImage>
getPDFImages(File pdfFile)
static org.apache.pdfbox.pdmodel.PDDocumentInformation
getPdfMeta(File pdfFile)
static int
getPDFPageSize(File pdfFile)
static String
getPdfTitle(File pdfFile)
static void
main(String[] args)
-
-
-
Field Detail
-
logger
public static Logger logger
-
-
Method Detail
-
getPDFImage
public static BufferedImage getPDFImage(File pdfFile, int page)
-
getPDFImages
public static List<BufferedImage> getPDFImages(File pdfFile)
-
getPDFPageSize
public static int getPDFPageSize(File pdfFile)
-
getPdfMeta
public static org.apache.pdfbox.pdmodel.PDDocumentInformation getPdfMeta(File pdfFile) throws IOException
- Throws:
IOException
-
getPdfTitle
public static String getPdfTitle(File pdfFile) throws IOException
- Throws:
IOException
-
-