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
Exception
public PdfComparisonService.ComparisonReport compare(List<Mask> masks, File actual, File expected, String pages) throws Exception
Exception
protected 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 Closeable
close
in interface AutoCloseable
IOException
Copyright © 2020. All rights reserved.