Nov 23

POI supports the older OLE2 format Excel (XLS) files using HSSF, and using XSSF can also handle the newer OOXML format (XLSX) used by Microsoft Office 2007, 2008 and onwards.

If you want to open an Excel file in either format then you can use something like the following:

FileInputStream in = new FileInputStream(file);
Workbook workbook = WorkbookFactory.create(in);

written by objects \\ tags: , , , , , , ,


Leave a Reply

You must be logged in to post a comment.