public class PdfExtractionService extends Object
Constructor and Description |
---|
PdfExtractionService() |
Modifier and Type | Method and Description |
---|---|
String |
extractPage(File pdfFile,
int pageId) |
List<RegionExtractionResult> |
extractRegions(File pdfFile,
List<Region> regions) |
int |
getPageCount(File pdfFile) |
Dimension |
getPageDimensionInPt(File pdfFile,
int pageId) |
public Dimension getPageDimensionInPt(File pdfFile, int pageId) throws Exception
Exception
public String extractPage(File pdfFile, int pageId) throws IOException
IOException
public List<RegionExtractionResult> extractRegions(File pdfFile, List<Region> regions) throws IOException
IOException
Copyright © 2020. All rights reserved.