자바로 엑셀파일 다룰 때 쓰는 POI 에 있는 재미있는 비밀
자바로 엑셀파일 다룰 때 쓰는 POI 에 있는 재미있는 비밀
여러분 아셨나요?
기존 엑셀 2003 이전버전용 파일 (xls) 을 다루려면
Workbook 타입을 HSSFWorkbook 으로 만들어야 했습니다.
이 HSSF 의 의미
Horrible SpreadSheet Format
끔찍한
스프레드시트 포맷
MS야 왜그랬어.
끔찍하다잖아.
출처 : https://en.wikipedia.org/wiki/Apache_POI
HSSF (Horrible SpreadSheet Format[2]) – reads and writes Microsoft Excel (XLS) format files. It can read files written by Excel 97 onwards; this file format is known as the BIFF 8 format. As the Excel file format is complex and contains a number of tricky characteristics, some of the more advanced features cannot be read.