public interface ExcelReaderResolver<R>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
read(InputStream inputStream,
Class<R> excelClass,
ReadListener<List<R>> readListener,
int headerIndex,
int readLines,
String sheetName,
ReadCallback<R> callback)
Read excel
|
void read(InputStream inputStream, Class<R> excelClass, ReadListener<List<R>> readListener, int headerIndex, int readLines, String sheetName, ReadCallback<R> callback)
inputStream - Excel file inputStreamexcelClass - Excel mapped entityreadListener - Excel import successful listenerheaderIndex - Excel header indexreadLines - Read how many rowssheetName - sheetNamecallback - Excel import callbackCopyright © 2020. All rights reserved.