Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HSSFWorkbook vs XSSFWorkbook vs SXSSFWorkbook - Apache-poi

Tags:

HSSFWorkbook vs XSSFWorkbook and the advantages/disadvantages of XSSFWorkbook and SXSSFWorkbook?

like image 315
Sedat Polat Avatar asked Oct 09 '15 21:10

Sedat Polat


People also ask

What is the difference between XSSFWorkbook and HSSFWorkbook?

HSSFWorkbook − This class has methods to read and write Microsoft Excel files in . xls format. It is compatible with MS-Office versions 97-2003. XSSFWorkbook − This class has methods to read and write Microsoft Excel and OpenOffice xml files in .

Which is better XSSF or HSSF?

Hence HSSF will work just fine with xls files, as the limit is xls and not HSSF. xlsx files support up to 1M+ rows, and XSSF will handle them correctly.

What is SXSSFWorkbook?

SXSSFWorkbook defaults to using inline strings instead of a shared strings table. This is very efficient, since no document content needs to be kept in memory, but is also known to produce documents that are incompatible with some clients.

What is the difference between JXL and Apache POI jar file?

Difference between JXL and POI is that Java JXL does not support the Excel 2007+ ". xlsx" format; it only supports ". xls" format. Apache POI supports both with a common design.


1 Answers

A spreadsheet of each with as a summary of API features:

apifeatures

Source: https://poi.apache.org/spreadsheet/

like image 198
nbokmans Avatar answered Oct 19 '22 23:10

nbokmans