public class SaxExcelReader<T> extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SaxExcelReader.ReadConfig<T> |
static class |
SaxExcelReader.XSSFReadContext |
public static <T> SaxExcelReader<T> of(Class<T> clazz)
public SaxExcelReader<T> sheet(Integer sheetIndex)
public SaxExcelReader<T> sheet(String sheetName)
public SaxExcelReader<T> sheets(Integer... sheetIndexs)
public SaxExcelReader<T> sheets(String... sheetNames)
public SaxExcelReader<T> rowFilter(Predicate<Row> rowFilter)
public SaxExcelReader<T> beanFilter(Predicate<T> beanFilter)
@Deprecated public SaxExcelReader<T> charset(String charset)
public SaxExcelReader<T> csvCharset(String charset)
public SaxExcelReader<T> csvDelimiter(char delimiter)
public SaxExcelReader<T> exceptionally(BiFunction<Throwable,ReadContext,Boolean> exceptionFunction)
public SaxExcelReader<T> noTrim()
public SaxExcelReader<T> readAllSheet()
public SaxExcelReader<T> ignoreBlankRow()
public SaxExcelReader<T> stopReadingOnBlankRow()
public SaxExcelReader<T> startSheet(BiConsumer<String,Integer> startSheetConsumer)
public SaxExcelReader<T> detectedMerge()
public List<T> read(InputStream fileInputStream)
public void readThen(InputStream fileInputStream, Consumer<T> consumer)
public void readThen(InputStream fileInputStream, BiConsumer<T,RowContext> contextConsumer)
public void readThen(File file, BiConsumer<T,RowContext> contextConsumer)
public void readThen(Path path, BiConsumer<T,RowContext> contextConsumer)
public void readThen(File file, BiFunction<T,RowContext,Boolean> contextFunction)
public void readThen(InputStream fileInputStream, BiFunction<T,RowContext,Boolean> contextFunction)
public void readThen(Path path, BiFunction<T,RowContext,Boolean> contextFunction)
public void readThen(InputStream fileInputStream, Function<T,Boolean> function)
public static WorkbookMetaData getWorkbookMetaData(Path path)
public static WorkbookMetaData getWorkbookMetaData(InputStream fileInputStream)
public static WorkbookMetaData getWorkbookMetaData(File file)
Copyright © 2023. All rights reserved.