sitelink1 | http://poi.apache.org/spreadsheet/index.html |
---|---|
sitelink2 | |
sitelink3 | |
extra_vars4 | |
extra_vars5 | |
extra_vars6 |
HSSF is the POI Project's pure Java implementation of the Excel '97(-2007) file format. XSSF is the POI Project's pure Java implementation of the Excel 2007 OOXML (.xlsx) file format.
HSSF and XSSF provides ways to read spreadsheets create, modify, read and write XLS spreadsheets. They provide:
- low level structures for those with special needs
- an eventmodel api for efficient read-only access
- a full usermodel api for creating, reading and modifying XLS files
For people converting from pure HSSF usermodel, who wish to use the joint SS Usermodel for HSSF and XSSF support, then see the ss usermodel converting guide.
An alternate way of generating a spreadsheet is via the Cocoon serializer (yet you'll still be using HSSF indirectly). With Cocoon you can serialize any XML datasource (which might be a ESQL page outputting in SQL for instance) by simply applying the stylesheet and designating the serializer.
If you're merely reading spreadsheet data, then use the eventmodel api in either the org.apache.poi.hssf.eventusermodel package, or the org.apache.poi.xssf.eventusermodel package, depending on your file format.
If you're modifying spreadsheet data then use the usermodel api. You can also generate spreadsheets this way.
Note that the usermodel system has a higher memory footprint than the low level eventusermodel, but have the major advantage of being much simpler to work with. Also please be aware that as the new XSSF supported Excel 2007 OOXML (.xlsx) files are XML based, the memory footprint for processing them is higher than for the older HSSF supported (.xls) binary files.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
14 |
POI HSSF, XSSF, SXSSF 성능 분석
![]() | 황제낙엽 | 2013.11.05 | 1660 |
» | POI-HSSF and POI-XSSF - Java API To Access Microsoft Excel Format Files | 황제낙엽 | 2013.11.05 | 1120 |
12 |
Cell 의 wrap 설정 (텍스트 개행)
![]() | 황제낙엽 | 2011.05.09 | 3114 |
11 |
XSSF Examples
![]() | 황제낙엽 | 2011.05.04 | 335 |
10 | 병합된 셀의 스타일( border) 설정하기 | 황제낙엽 | 2011.05.03 | 1755 |
9 | 셀 크기 조정 (자동 크기 조정) | 황제낙엽 | 2011.05.03 | 7813 |
8 | 셀 병합 | 황제낙엽 | 2011.05.03 | 215 |
7 |
POI - HSSF 예제 프로젝트
![]() | 황제낙엽 | 2008.05.16 | 94 |
6 |
POI 셀 스타일 설정을 위한 예제 소스
![]() | 황제낙엽 | 2008.05.16 | 1458 |
5 | POI HSSF 기능 가이드 -- 퀵·가이드 (한글) | 황제낙엽 | 2008.05.16 | 432 |
4 | POI HSSF 기능 가이드 -- 퀵·가이드 (영문) | 황제낙엽 | 2008.05.15 | 297 |
3 |
Comma Separated Values (CSV) - au.com.bytecode.opencsv
![]() | 황제낙엽 | 2007.01.23 | 857 |
2 | Comma Separated Values (CSV) - com.Ostermiller.util Java Utilities | 황제낙엽 | 2007.01.23 | 266 |
1 | 엑셀(Excel)문서 처리 패키지 | 황제낙엽 | 2007.01.22 | 1437 |