public static class ISheetHandler.Default extends Object implements ISheetHandler<Object[]>
ISheetHandler.CellMeta, ISheetHandler.Default
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
ISheetHandler.Default |
decimalPattern(String decimalPattern) |
ISheetHandler.Default |
firstCellNum(int firstCellNum) |
ISheetHandler.Default |
firstRowNum(int firstRowNum) |
ISheetHandler.CellMeta[] |
getCellMetas()
获取单元格描述对象集合
|
List<Object[]> |
handle(org.apache.poi.ss.usermodel.Sheet sheet)
处理Sheet页
|
ISheetHandler.Default |
lastCellNum(int lastCellNum) |
ISheetHandler.Default |
lastRowNum(int lastRowNum) |
Object[] |
parseRow(org.apache.poi.ss.usermodel.Row row)
分析行数据
|
public ISheetHandler.Default firstRowNum(int firstRowNum)
public ISheetHandler.Default lastRowNum(int lastRowNum)
public ISheetHandler.Default firstCellNum(int firstCellNum)
public ISheetHandler.Default lastCellNum(int lastCellNum)
public ISheetHandler.Default decimalPattern(String decimalPattern)
public List<Object[]> handle(org.apache.poi.ss.usermodel.Sheet sheet) throws Exception
ISheetHandler
handle
in interface ISheetHandler<Object[]>
sheet
- Sheet页接口对象Exception
- 可能产生的任何异常public ISheetHandler.CellMeta[] getCellMetas()
ISheetHandler
getCellMetas
in interface ISheetHandler<Object[]>
public Object[] parseRow(org.apache.poi.ss.usermodel.Row row) throws Exception
ISheetHandler
parseRow
in interface ISheetHandler<Object[]>
row
- 记录行接口对象Exception
- 可能产生的任何异常Copyright © 2022. All rights reserved.