public class CompareTool extends Object
Constructor and Description |
---|
CompareTool() |
Modifier and Type | Method and Description |
---|---|
String |
compare(String outPdf,
String cmpPdf,
String outPath,
String differenceImagePrefix) |
String |
compare(String outPdf,
String cmpPdf,
String outPath,
String differenceImagePrefix,
Map<Integer,List<Rectangle>> ignoredAreas) |
String |
compareByContent(String outPdf,
String cmpPdf,
String outPath,
String differenceImagePrefix) |
String |
compareByContent(String outPdf,
String cmpPdf,
String outPath,
String differenceImagePrefix,
Map<Integer,List<Rectangle>> ignoredAreas) |
String |
compareDocumentInfo(String outPdf,
String cmpPdf) |
String |
compareLinks(String outPdf,
String cmpPdf) |
String |
compareTagStructures(String outPdf,
String cmpPdf) |
boolean |
compareXmls(byte[] xml1,
byte[] xml2) |
boolean |
compareXmls(String xml1,
String xml2) |
String |
compareXmp(String outPdf,
String cmpPdf) |
String |
compareXmp(String outPdf,
String cmpPdf,
boolean ignoreDateAndProducerProperties) |
public String compare(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix, Map<Integer,List<Rectangle>> ignoredAreas) throws IOException, InterruptedException, DocumentException
public String compare(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix) throws IOException, InterruptedException, DocumentException
public String compareByContent(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix, Map<Integer,List<Rectangle>> ignoredAreas) throws DocumentException, InterruptedException, IOException
public String compareByContent(String outPdf, String cmpPdf, String outPath, String differenceImagePrefix) throws DocumentException, InterruptedException, IOException
public String compareXmp(String outPdf, String cmpPdf, boolean ignoreDateAndProducerProperties)
public boolean compareXmls(byte[] xml1, byte[] xml2) throws ParserConfigurationException, SAXException, IOException
public String compareDocumentInfo(String outPdf, String cmpPdf) throws IOException
IOException
public String compareLinks(String outPdf, String cmpPdf) throws IOException
IOException
public String compareTagStructures(String outPdf, String cmpPdf) throws IOException, ParserConfigurationException, SAXException
public boolean compareXmls(String xml1, String xml2) throws ParserConfigurationException, SAXException, IOException
Copyright © 2014. All rights reserved.