Class PdfComparisonService
- java.lang.Object
-
- step.plugins.pdftest.services.comparison.PdfComparisonService
-
public class PdfComparisonService extends Object
The main service responsible for the comparison of 2 PDFs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PdfComparisonService.ComparisonError
static class
PdfComparisonService.ComparisonException
static class
PdfComparisonService.ComparisonReport
class
PdfComparisonService.ComparisonSession
static class
PdfComparisonService.ComparisonSettings
-
Constructor Summary
Constructors Constructor Description PdfComparisonService(File serviceWorkingDir, ComparisonContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertFileExistAndIsReadable(File actualFile)
PdfComparisonService.ComparisonSession
getSession(PdfComparisonService.ComparisonSettings comparisonSettings)
boolean
isPageNumberInRange(String pages, int pageNum)
-
-
-
Constructor Detail
-
PdfComparisonService
public PdfComparisonService(File serviceWorkingDir, ComparisonContext context)
-
-
Method Detail
-
getSession
public PdfComparisonService.ComparisonSession getSession(PdfComparisonService.ComparisonSettings comparisonSettings)
-
assertFileExistAndIsReadable
public void assertFileExistAndIsReadable(File actualFile) throws Exception
- Throws:
Exception
-
isPageNumberInRange
public boolean isPageNumberInRange(String pages, int pageNum)
-
-