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