forked from fanruan/easyexcel
Jiaju Zhuang
5 years ago
5 changed files with 43 additions and 1 deletions
@ -0,0 +1,27 @@
|
||||
package com.alibaba.easyexcel.test.temp.read; |
||||
|
||||
import com.alibaba.excel.context.AnalysisContext; |
||||
import com.alibaba.excel.event.AnalysisEventListener; |
||||
import com.alibaba.fastjson.JSON; |
||||
|
||||
import lombok.extern.slf4j.Slf4j; |
||||
|
||||
/** |
||||
* TODO |
||||
* |
||||
* @author JiaJu Zhuang |
||||
* @date 2020/4/9 16:33 |
||||
**/ |
||||
@Slf4j |
||||
public class TestListener extends AnalysisEventListener { |
||||
|
||||
@Override |
||||
public void invoke(Object o, AnalysisContext analysisContext) { |
||||
log.info("解析一条:{}", JSON.toJSONString(o)); |
||||
} |
||||
|
||||
@Override |
||||
public void doAfterAllAnalysed(AnalysisContext analysisContext) { |
||||
|
||||
} |
||||
} |
Loading…
Reference in new issue