Class ComparisonService
- java.lang.Object
-
- step.plugins.pdftest.services.comparison.ComparisonService
-
public class ComparisonService extends 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(File serviceWorkingDir, ComparisonContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertFileExistAndIsReadable(File actualFile)
ComparisonService.ComparisonSession
getSession(ComparisonService.ComparisonSettings comparisonSettings)
boolean
isPageNumberInRange(String pages, int pageNum)
-
-
-
Constructor Detail
-
ComparisonService
public ComparisonService(File serviceWorkingDir, ComparisonContext context)
-
-
Method Detail
-
getSession
public ComparisonService.ComparisonSession getSession(ComparisonService.ComparisonSettings comparisonSettings)
-
assertFileExistAndIsReadable
public void assertFileExistAndIsReadable(File actualFile) throws Exception
- Throws:
Exception
-
isPageNumberInRange
public boolean isPageNumberInRange(String pages, int pageNum)
-
-