Class AbstractExtractionService
- java.lang.Object
-
- step.plugins.compare.services.atomic.AbstractExtractionService
-
- Direct Known Subclasses:
ImageExtractionService
,PdfExtractionService
public abstract class AbstractExtractionService extends Object
This service is responsible for the manipulation of Comparable documents
-
-
Constructor Summary
Constructors Constructor Description AbstractExtractionService()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract List<RegionExtractionResult>
extractRegions(File pdfFile, List<Region> regions)
abstract int
getPageCount(File pdfFile)
abstract Dimension
getPageDimensionInPt(File pdfFile, int pageId)
abstract void
setLanguage(String lang)
-
-
-
Method Detail
-
getPageDimensionInPt
public abstract Dimension getPageDimensionInPt(File pdfFile, int pageId) throws Exception
- Throws:
Exception
-
extractRegions
public abstract List<RegionExtractionResult> extractRegions(File pdfFile, List<Region> regions) throws IOException, net.sourceforge.tess4j.TesseractException
- Throws:
IOException
net.sourceforge.tess4j.TesseractException
-
setLanguage
public abstract void setLanguage(String lang)
-
-