Documents differences checking framework

Java applications for detecting changes in XLSX spreadsheets

The GroupDocs.Comparison Java API enables the comparison of XLSX spreadsheets within Java, J2EE, or J2SE applications.

Use Java for comparing multiple XLSX files

Use GroupDocs.Comparison to analyze MS Excel spreadsheets

  1. Install package from Maven
  2. Instantiate the Comparer with the first XLSX spreadsheet as a parameter
  3. Include additional XLSX spreadsheets for comparison
  4. Enjoy comprehensive report
Copy

// Check files from your hard drive for differences or similarities

// Create a Comparer object by specifying the initial file
try (Comparer comparer = new Comparer("main.xlsx") 
{
    // Include additional files to comparing
	comparer.add("version1.xlsx");
    comparer.add("version2.xlsx");
    comparer.add("version3.xlsx");

    // Get the report with the specified name as the result
    final Path resultPath = comparer.compare("full_report.xlsx"); 

    System.out.println("\nDocuments compared successfully.");
}
<dependencies> <dependency> <groupId>com.groupdocs</groupId> <artifactId>groupdocs-comparison</artifactId> <version></version> </dependency> </dependencies> <repositories> <repository> <id>repository.groupdocs.com</id> <name>GroupDocs Repository</name> <url>https://repository.groupdocs.com/repo/</url> </repository> </repositories>
click to copy
copied
More examples Documentation

Explore the advantages of the GroupDocs.Comparison for Java API

The GroupDocs.Comparison for Java API makes easier comparison of XLSX spreadsheets, generating reports on differences found in text, paragraphs, shapes, styles, and other elements. Additionally, it supports merging alterations from multiple original files without requiring external libraries. Enhance your Java projects with minimal code integration.
Learn more
About illustration

Ready to get started?

Try GroupDocs.Comparison features for free or request a license

Manage changes in XLSX spreadsheets using Java

The GroupDocs.Comparison Java library empowers users to monitor different versions of XLSX spreadsheets through detailed and precise reports that are easily composed.

 English