Browse Source

修改demo

pull/2074/head
Jiaju Zhuang 4 years ago
parent
commit
a5730593dc
  1. 11
      src/test/java/com/alibaba/easyexcel/test/demo/read/DemoExtraListener.java

11
src/test/java/com/alibaba/easyexcel/test/demo/read/DemoExtraListener.java

@ -1,19 +1,18 @@
package com.alibaba.easyexcel.test.demo.read; package com.alibaba.easyexcel.test.demo.read;
import org.junit.Assert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.alibaba.excel.context.AnalysisContext; import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener; import com.alibaba.excel.event.AnalysisEventListener;
import com.alibaba.excel.metadata.CellExtra; import com.alibaba.excel.metadata.CellExtra;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import org.junit.Assert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/** /**
* 读取单元格的批注 * 读取单元格的批注
* *
* @author: kaiux * @author Jiaju Zhuang
* @date: 2019-10-23 14:10
**/ **/
public class DemoExtraListener extends AnalysisEventListener<DemoExtraData> { public class DemoExtraListener extends AnalysisEventListener<DemoExtraData> {
private static final Logger LOGGER = LoggerFactory.getLogger(DemoDataListener.class); private static final Logger LOGGER = LoggerFactory.getLogger(DemoDataListener.class);

Loading…
Cancel
Save