mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix comment
This commit is contained in:
@@ -16,6 +16,7 @@ public class ExcelExtractorUtil {
|
|||||||
/**
|
/**
|
||||||
* 获取 {@link ExcelExtractor} 对象
|
* 获取 {@link ExcelExtractor} 对象
|
||||||
*
|
*
|
||||||
|
* @param wb {@link Workbook}
|
||||||
* @return {@link ExcelExtractor}
|
* @return {@link ExcelExtractor}
|
||||||
*/
|
*/
|
||||||
public static ExcelExtractor getExtractor(Workbook wb) {
|
public static ExcelExtractor getExtractor(Workbook wb) {
|
||||||
|
@@ -130,9 +130,9 @@ public abstract class AbstractSheetReader<T> implements SheetReader<T> {
|
|||||||
/**
|
/**
|
||||||
* 读取某一行数据
|
* 读取某一行数据
|
||||||
*
|
*
|
||||||
|
* @param sheet {@link Sheet}
|
||||||
* @param rowIndex 行号,从0开始
|
* @param rowIndex 行号,从0开始
|
||||||
* @return 一行数据
|
* @return 一行数据
|
||||||
* @since 4.0.3
|
|
||||||
*/
|
*/
|
||||||
protected List<Object> readRow(Sheet sheet, int rowIndex) {
|
protected List<Object> readRow(Sheet sheet, int rowIndex) {
|
||||||
return RowUtil.readRow(sheet.getRow(rowIndex), this.cellEditor);
|
return RowUtil.readRow(sheet.getRow(rowIndex), this.cellEditor);
|
||||||
|
@@ -15,6 +15,7 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public class ListSheetReader extends AbstractSheetReader<List<List<Object>>> {
|
public class ListSheetReader extends AbstractSheetReader<List<List<Object>>> {
|
||||||
|
|
||||||
|
/** 是否首行作为标题行转换别名 */
|
||||||
private final boolean aliasFirstLine;
|
private final boolean aliasFirstLine;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -22,6 +23,7 @@ public class ListSheetReader extends AbstractSheetReader<List<List<Object>>> {
|
|||||||
*
|
*
|
||||||
* @param startRowIndex 起始行(包含,从0开始计数)
|
* @param startRowIndex 起始行(包含,从0开始计数)
|
||||||
* @param endRowIndex 结束行(包含,从0开始计数)
|
* @param endRowIndex 结束行(包含,从0开始计数)
|
||||||
|
* @param aliasFirstLine 是否首行作为标题行转换别名
|
||||||
*/
|
*/
|
||||||
public ListSheetReader(int startRowIndex, int endRowIndex, boolean aliasFirstLine) {
|
public ListSheetReader(int startRowIndex, int endRowIndex, boolean aliasFirstLine) {
|
||||||
super(startRowIndex, endRowIndex);
|
super(startRowIndex, endRowIndex);
|
||||||
|
@@ -32,6 +32,7 @@ public abstract class BeanRowHandler<T> extends AbstractRowHandler<T>{
|
|||||||
* @param headerRowIndex 标题所在行(从0开始计数)
|
* @param headerRowIndex 标题所在行(从0开始计数)
|
||||||
* @param startRowIndex 读取起始行(包含,从0开始计数)
|
* @param startRowIndex 读取起始行(包含,从0开始计数)
|
||||||
* @param endRowIndex 读取结束行(包含,从0开始计数)
|
* @param endRowIndex 读取结束行(包含,从0开始计数)
|
||||||
|
* @param clazz Bean类型
|
||||||
*/
|
*/
|
||||||
public BeanRowHandler(int headerRowIndex, int startRowIndex, int endRowIndex, Class<T> clazz) {
|
public BeanRowHandler(int headerRowIndex, int startRowIndex, int endRowIndex, Class<T> clazz) {
|
||||||
super(startRowIndex, endRowIndex);
|
super(startRowIndex, endRowIndex);
|
||||||
|
Reference in New Issue
Block a user