public class PoiServiceImpl extends Object implements PoiService
| Constructor and Description |
|---|
PoiServiceImpl(Integer sheetHeader,
Integer startRow,
Integer startCol) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
readExcel(File file,
ExcelMapRule[] rules,
Class<T> clazz)
读取工作薄,并转化成List
|
<T> List<T> |
readExcel(InputStream is,
ExcelMapRule[] rules,
Class<T> clazz)
读取工作薄,并转化成List集合
|
public <T> List<T> readExcel(InputStream is, ExcelMapRule[] rules, Class<T> clazz)
PoiServicereadExcel in interface PoiServicepublic <T> List<T> readExcel(File file, ExcelMapRule[] rules, Class<T> clazz)
PoiServicereadExcel in interface PoiServiceCopyright © 2018. All rights reserved.