Browse Source

最新版本,为了稳定性07版本解析修改为底层使用POI解析。

developing
jipengfei.jpf 6 years ago
parent
commit
e6a782f926
  1. 1
      README.md
  2. 1
      pom.xml
  3. 1
      src/main/java/com/alibaba/excel/analysis/v07/XlsxSaxAnalyser.java
  4. 11
      src/main`java/com/alibaba/excel/annotation/FieldType.java
  5. 17
      src/main`java/com/alibaba/excel/constant/ExcelXmlConstants.java

1
README.md

@ -10,6 +10,7 @@ Java解析、生成Excel比较有名的框架有Apache poi、jxl。但他们都
* [更新记事](/update.md)
* [English-README](/easyexcel_en.md)
# 二方包
```

1
pom.xml

@ -7,6 +7,7 @@
<version>1.1.0</version>
<packaging>jar</packaging>
<name>easyexcel</name>
<description>easyexcel is a excel handle tools written in Java</description>
<url>https://github.com/alibaba/easyexcel</url>

1
src/main/java/com/alibaba/excel/analysis/v07/XlsxSaxAnalyser.java

@ -34,6 +34,7 @@ public class XlsxSaxAnalyser extends BaseSaxAnalyser {
private List<SheetSource> sheetSourceList = new ArrayList<SheetSource>();
private boolean use1904WindowDate = false;
public XlsxSaxAnalyser(AnalysisContext analysisContext) throws IOException, OpenXML4JException, XmlException {

11
src/main`java/com/alibaba/excel/annotation/FieldType.java

@ -1,11 +0,0 @@
package com.alibaba.excel.annotation;
/**
*
* @author jipengfei
*/
public enum FieldType {
STRING, INT, LONG, DATE, BOOLEAN, DOUBLE,EMPTY;
}

17
src/main`java/com/alibaba/excel/constant/ExcelXmlConstants.java

@ -1,17 +0,0 @@
package com.alibaba.excel.constant;
/**
* @author jipengfei
*/
public class ExcelXmlConstants {
public static final String DIMENSION = "dimension";
public static final String DIMENSION_REF = "ref";
public static final String POSITION = "r";
public static final String ROW_TAG = "row";
public static final String CELL_TAG = "c";
public static final String CELL_VALUE_TAG = "v";
public static final String CELL_VALUE_TAG_1 = "t";
}
Loading…
Cancel
Save