Dev Language/JAVA
poi를 이용한 (*.xls, *.xlsx)읽기
타카스 류지
2015. 10. 6. 15:26
// *.xls 파일 가능( - xlsx파일 불가)
HSSFWorkbook workBook = new HSSFWorkbook(new FileInputStream(new File(filePath)));
HSSFSheet sheet = null;
HSSFRow row = null;
HSSFCell cell null;
// *.xlsx 파일 가능( - xls파일 불가)
XSSFWorkbook workBook = new XSSFWorkbook(file);
XSSFSheet sheet = null;
XSSFRow row = null;
XSSFCell cell = null;
// *.xls, *.xlsx 파일 가능
Workbook workBook = WorkbookFactory.create(file);
Sheet sheet = null;
Row row = null;
Cell cell = null;
[출처] [Java] POI를 이용한 (*.xls, *.xlsx) 읽기|작성자 마이레몬트리
http://tychejin.blog.me/110182191752