| 程序包 | 说明 |
|---|---|
| cn.gjing.tools.excel | |
| cn.gjing.tools.excel.read.resolver |
| 限定符和类型 | 方法和说明 |
|---|---|
static <R> ExcelBindReader<R> |
ExcelFactory.createReader(File file,
Class<R> excelClass,
String... ignores)
Create an Excel reader
|
static <R> ExcelBindReader<R> |
ExcelFactory.createReader(InputStream inputStream,
Class<R> excelClass,
String... ignores)
Create an Excel reader
|
static <R> ExcelBindReader<R> |
ExcelFactory.createReader(org.springframework.web.multipart.MultipartFile file,
Class<R> excelClass,
String... ignores)
Create an Excel reader
|
| 限定符和类型 | 方法和说明 |
|---|---|
ExcelBindReader<R> |
ExcelBindReader.addListener(ExcelReadListener readListener)
Add readListeners
|
ExcelBindReader<R> |
ExcelBindReader.addListener(List<? extends ExcelReadListener> readListenerList)
Add readListeners
|
ExcelBindReader<R> |
ExcelBindReader.check(boolean enable)
Detect whether the imported Excel file matches the mapped entity
|
ExcelBindReader<R> |
ExcelBindReader.headBefore(boolean need)
Whether to read all rows before the header
|
ExcelBindReader<R> |
ExcelBindReader.metaInfo(boolean need)
已过时。
Please use headBefore
|
ExcelBindReader<R> |
ExcelBindReader.read()
Read excel
|
ExcelBindReader<R> |
ExcelBindReader.read(int headerIndex)
Specifies that the Excel subscript to start reading.
|
ExcelBindReader<R> |
ExcelBindReader.read(int headerIndex,
String sheetName)
Read the specified sheet
|
ExcelBindReader<R> |
ExcelBindReader.read(String sheetName)
Read the specified sheet
|
ExcelBindReader<R> |
ExcelBindReader.subscribe(ExcelResultReadListener<R> excelResultReadListener)
Subscribe to the data after the import is complete
|
Copyright © 2021. All rights reserved.