public class ExcelReader
extends java.lang.Object
| Constructor and Description |
|---|
ExcelReader(java.util.Map<java.lang.String,java.lang.String> headerNameMap) |
ExcelReader(java.util.Map<java.lang.String,java.lang.String> headerNameMap,
java.lang.String[] headerRowFirstCellValues) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
getCellValue(org.apache.poi.ss.usermodel.Cell cell)
주어진 Cell 객체의 값을 얻는다.
|
void |
read(java.io.File file,
ExcelRowHandler handler)
File로부터 Excel의 내용을 읽는다.
|
void |
read(java.io.InputStream is,
ExcelRowHandler handler)
InputStream으로부터 Excel의 내용을 읽는다.
|
public ExcelReader(java.util.Map<java.lang.String,java.lang.String> headerNameMap)
public ExcelReader(java.util.Map<java.lang.String,java.lang.String> headerNameMap,
java.lang.String[] headerRowFirstCellValues)
headerNameMap - headerRowFirstCellValue - 헤더 Row를 알아내기 위한 첫번째 셀 값.public void read(java.io.File file,
ExcelRowHandler handler)
throws java.io.IOException
is - handler - java.io.FileNotFoundExceptionjava.io.IOExceptionpublic void read(java.io.InputStream is,
ExcelRowHandler handler)
throws java.io.IOException
is - handler - java.io.IOExceptionprotected java.lang.Object getCellValue(org.apache.poi.ss.usermodel.Cell cell)
cell - 값을 얻을 Cell 객체.