Java library for reading Microsoft Excel files

I want to write a program that compares two rows of Microsoft Excel using Java.

Is there any existing library (and its documentation) that can help me get started with basic materials, for example, reading all excel rows and columns?

+6
source share
2 answers

Check out the Apache POI , which is the Java API for Microsoft documents.

And here is a tutorial on how to set up and get started with Excel files.

+14
source

1. Apache POI

The Apache POI, a project run by the Apache Software Foundation, and previously a subproject of the Jakarta project, provides clean Java libraries for reading and writing Microsoft Office file formats such as Word, PowerPoint, and Excel.

http://poi.apache.org/

2. docx4j

docx4j is a Java library for creating and processing Microsoft Open XML files (Word docx, Powerpoint pptx and Excel xlsx).

http://www.docx4java.org/trac/docx4j

+5
source

All Articles