fix comment

This commit is contained in:
Looly 2020-09-26 02:31:31 +08:00
parent e73b2605a4
commit 668e96f07d
4 changed files with 13 additions and 9 deletions

View File

@ -16,6 +16,7 @@ public class ExcelExtractorUtil {
/**
* 获取 {@link ExcelExtractor} 对象
*
* @param wb {@link Workbook}
* @return {@link ExcelExtractor}
*/
public static ExcelExtractor getExtractor(Workbook wb) {

View File

@ -130,9 +130,9 @@ public abstract class AbstractSheetReader<T> implements SheetReader<T> {
/**
* 读取某一行数据
*
* @param sheet {@link Sheet}
* @param rowIndex 行号从0开始
* @return 一行数据
* @since 4.0.3
*/
protected List<Object> readRow(Sheet sheet, int rowIndex) {
return RowUtil.readRow(sheet.getRow(rowIndex), this.cellEditor);

View File

@ -15,6 +15,7 @@ import java.util.List;
*/
public class ListSheetReader extends AbstractSheetReader<List<List<Object>>> {
/** 是否首行作为标题行转换别名 */
private final boolean aliasFirstLine;
/**
@ -22,6 +23,7 @@ public class ListSheetReader extends AbstractSheetReader<List<List<Object>>> {
*
* @param startRowIndex 起始行包含从0开始计数
* @param endRowIndex 结束行包含从0开始计数
* @param aliasFirstLine 是否首行作为标题行转换别名
*/
public ListSheetReader(int startRowIndex, int endRowIndex, boolean aliasFirstLine) {
super(startRowIndex, endRowIndex);

View File

@ -32,6 +32,7 @@ public abstract class BeanRowHandler<T> extends AbstractRowHandler<T>{
* @param headerRowIndex 标题所在行从0开始计数
* @param startRowIndex 读取起始行包含从0开始计数
* @param endRowIndex 读取结束行包含从0开始计数
* @param clazz Bean类型
*/
public BeanRowHandler(int headerRowIndex, int startRowIndex, int endRowIndex, Class<T> clazz) {
super(startRowIndex, endRowIndex);