public class PdfComparisonService.ComparisonSession extends Object implements Closeable
| Constructor and Description | 
|---|
ComparisonSession(PdfComparisonService.ComparisonSettings comparisonSettings)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
PdfComparisonService.ComparisonReport | 
compare(List<Mask> masks,
       File actual,
       File expected,
       String pages)  | 
PdfComparisonService.ComparisonReport | 
compare(List<Mask> masks,
       InputStream actual,
       InputStream expected,
       String pages)  | 
protected void | 
reportPageDifference(List<PdfComparisonService.ComparisonError> errors,
                    String errorMessage,
                    File expectedPage,
                    List<Mask> matchingMasks,
                    File bestMatchPage,
                    ImageDiffReport bestMatchReport)  | 
public ComparisonSession(PdfComparisonService.ComparisonSettings comparisonSettings)
public PdfComparisonService.ComparisonReport compare(List<Mask> masks, InputStream actual, InputStream expected, String pages) throws Exception
Exceptionpublic PdfComparisonService.ComparisonReport compare(List<Mask> masks, File actual, File expected, String pages) throws Exception
Exceptionprotected void reportPageDifference(List<PdfComparisonService.ComparisonError> errors, String errorMessage, File expectedPage, List<Mask> matchingMasks, File bestMatchPage, ImageDiffReport bestMatchReport)
public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020. All rights reserved.