Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read XLSX file in Java [closed]

I need to read an Excel 2007 XLSX file in a Java application. Does anyone know of a good API to accomplish this task?

like image 583
MrPortico Avatar asked Nov 05 '08 22:11

MrPortico


People also ask

Can Java read XLSX files?

How to read Excel (XLS) file in Java. Reading XLS file is no different than reading an XLSX format file, all you need to do is to use correct workbook implementation for XLS format e.g. instead of using XSSFWorkbook and XSSFSheet , you need to use HSSFWorkbook and HSSFSheet classes from Apache POI library.


1 Answers

Apache POI 3.5 have added support to all the OOXML (docx, xlsx, etc.)

See the XSSF sub project

like image 162
David Rabinowitz Avatar answered Sep 25 '22 09:09

David Rabinowitz