Empower your Java applications with images and documents comparison features using GroupDocs.Comparison for Java API. It helps you identify the differences within paragraphs, words, characters, shapes, even the text styles of the compared documents of same format, allows merging the changes and export to a final document. It supports comparing and merging a wide range of documents including PDF, Word, Excel worksheets, PowerPoint presentations, Visio diagrams, Outlook emails, HTML, drawings and image file formats without using any external library.
GroupDocs.Comparison makes it easy for Java developers to compare XLS files within their applications using a few lines of code.
GroupDocs.Comparison for Java APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
// Compare documents from local file
try (Comparer comparer = new Comparer("C:\\source.xls")) {
comparer.add("C:\\target.xls");
comparer.compare("C:\\result.xls"); // Create result file with the specified name
}
// Compare documents from stream
try (Comparer comparer = new Comparer(new FileInputStream("C:\\source.xls"))) {
comparer.add(new FileInputStream("C:\\target.xls"));
comparer.compare(new FileOutputStream("C:\\result.xls")); // Create result file with the specified name
}
Compare XLS files right now by visiting GroupDocs.Comparison Live Demos website.
The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
Files with XLS extension represent Excel Binary File Format. Such files can be created by Microsoft Excel as well as other similar spreadsheet programs such as OpenOffice Calc or Apple Numbers. File saved by Excel is known as Workbook where each workbook can have one or more worksheets. Data is stored and displayed to users in table format in worksheet and can span numeric values, text data, formulas, external data connections, images, and charts. Applications like Microsoft Excel lets you export workbook data to several different formats including PDF, CSV, XLSX, TXT, HTML, XPS, and several others. The XLS file format was replaced with a more open and structured format, XLSX, with the release of Microsoft Excel 2007. The latest versions still provide support for creating and reading XLS files, though XLSX is the first choice of use now.
Read More About XLS File FormatMulti format images & documents comparison API for Java. Compare some of the popular file formats below without any external software.
(Adobe Portable Document Format)
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Microsoft Word Macro-Enabled Template)
(Word Open XML Document Template)
(Rich Text File Format)
(Plain Text File Format)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel macro-enabled template)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Spreadsheet File)
(Comma Separated Values File)
(PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(PowerPoint Open XML Presentation)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint template)
(Microsoft PowerPoint Open XML Template)
(Open Document Spreadsheet)
(OpenDocument Presentation File Format)
(Origin Graph Template)
(Open Document Text)
(Open Document Template)
(Microsoft Visio 2003-2010 XML Drawing)
(JPEG Image)
(Portable Network Graphic)
(Graphical Interchange Format File)
(Bitmap File Format)
(Hyper Text Markup Language)
(Mime HTML)
(MIME Encapsulation of Aggregate HTML)
(Microsoft Outlook E-mail Message)
(E-mail Message)
(Apple Mail E-mail File)
(Microsoft OneNote)
(Microsoft Visio 2003-2010 Drawing)
(Microsoft Visio Drawing)
(Microsoft Visio 2003-2010 Stencil)
(Microsoft Visio 2003-2010 Template)
(Microsoft Visio 2003-2010 XML Drawing)
(CSharp Language)
(Java Language)
(C++ Language)
(JavaScript Language)
(Python Language)
(Ruby Language)