Documents differences checking framework

Compare XLSB Files in Java

Perform content comparison between more than two XLSB files in Java. Retrieve a list of differences and save the compared files to a single document.

How to compare several XLSB documents using Java

Use GroupDocs.Comparison to compare multiple XLSB files and generate a report detailing their differences

  1. Use your preferred package manager to install GroupDocs.Comparison for Java from Maven
  2. Create an instance of the Comparer class setting path to one of XLSB files
  3. Add at least one additional XLSB to the Comparer instance
  4. Receive a detailed final report outlining the exact differences
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("source.xlsb") 
{
    // Include additional files to comparing
	comparer.add("target1.xlsb");
    comparer.add("target2.xlsb");

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

    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 capabilities of GroupDocs.Comparison for Java library

GroupDocs.Comparison for Java is an intrinsic Java software crafted for comparing multiple images and documents sharing the same format. It assists in identifying variations within paragraphs, words, characters, shapes, and even text styles among the compared documents. With the capability to merge these alterations and export to a final document, it facilitates the comparison and merging of PDFs, Word documents, Excel spreadsheets, PowerPoint presentations, Visio diagrams, Outlook emails, HTML, drawings, and various image file formats—eliminating the necessity for any external libraries.
Learn more
About illustration

Ready to get started?

Try GroupDocs.Comparison features for free or request a license

Compare various documents using Java

Our Java solutions allows you to compare documents of various formats. Stay updated on document changes by processing them effortlessly.

 English