Class PdfExtractionService
- java.lang.Object
-
- step.plugins.pdftest.services.atomic.PdfExtractionService
-
public class PdfExtractionService extends Object
This service is responsible for the manipulation of PDF documents
-
-
Constructor Summary
Constructors Constructor Description PdfExtractionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getPageDimensionInPt
public Dimension getPageDimensionInPt(File pdfFile, int pageId) throws Exception
- Throws:
Exception
-
extractPage
public String extractPage(File pdfFile, int pageId) throws IOException
- Throws:
IOException
-
extractRegions
public List<RegionExtractionResult> extractRegions(File pdfFile, List<Region> regions) throws IOException
- Throws:
IOException
-
-