public class ExcelComparator extends Object
This utility will be used to compare Excel File Contents cell by cell for all sheets programmatically.
Below are the list of Attribute comparison supported in this version.
(Some of the above attribute comparison only work for *.xlsx format currently. In future it can be enhanced.)
Usage:
https://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/ss/examples/ExcelComparator.java| Constructor and Description |
|---|
ExcelComparator() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
compare(org.apache.poi.ss.usermodel.Workbook wb1,
org.apache.poi.ss.usermodel.Workbook wb2)
Utility to compare Excel File Contents cell by cell for all sheets.
|
List<String> |
getListOfDifferences() |
public static List<String> compare(org.apache.poi.ss.usermodel.Workbook wb1, org.apache.poi.ss.usermodel.Workbook wb2)
wb1 - the workbook1wb2 - the workbook2Copyright © 2019. All rights reserved.