T
- public class ExcelParser<T> extends AbstractFileParser<T> implements EventListener
excelInitConfig
downloadPath, excelWorkbookManage, executorTools, port, redisTemplate, tmpPath
构造器和说明 |
---|
ExcelParser(ExcelInitConfig excelInitConfig,
ExcelWorkbookManage excelWorkbookManage,
org.springframework.data.redis.core.StringRedisTemplate redisTemplate,
ExecutorTools executorTools) |
限定符和类型 | 方法和说明 |
---|---|
protected T |
getData(ExcelSheet sheet,
org.apache.poi.ss.usermodel.Row row) |
void |
init() |
void |
onEvent(Event e) |
download, getData, importData, importData, isRowEmpty
addErrorInfo, addErrorInfo, addErrorInfo, process
@Autowired public ExcelParser(ExcelInitConfig excelInitConfig, ExcelWorkbookManage excelWorkbookManage, org.springframework.data.redis.core.StringRedisTemplate redisTemplate, ExecutorTools executorTools)
@PostConstruct public void init()
protected T getData(ExcelSheet sheet, org.apache.poi.ss.usermodel.Row row) throws Exception
getData
在类中 AbstractFileParser<T>
Exception
public void onEvent(Event e)
onEvent
在接口中 EventListener
Copyright © 2021. All rights reserved.