From e6a782f926372c074273ad7da46cac3cf7c64125 Mon Sep 17 00:00:00 2001 From: "jipengfei.jpf" Date: Mon, 15 Oct 2018 15:55:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC=EF=BC=8C?= =?UTF-8?q?=E4=B8=BA=E4=BA=86=E7=A8=B3=E5=AE=9A=E6=80=A707=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E8=A7=A3=E6=9E=90=E4=BF=AE=E6=94=B9=E4=B8=BA=E5=BA=95?= =?UTF-8?q?=E5=B1=82=E4=BD=BF=E7=94=A8POI=E8=A7=A3=E6=9E=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + pom.xml | 1 + .../excel/analysis/v07/XlsxSaxAnalyser.java | 1 + .../com/alibaba/excel/annotation/FieldType.java | 11 ----------- .../excel/constant/ExcelXmlConstants.java | 17 ----------------- 5 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 src/main`java/com/alibaba/excel/annotation/FieldType.java delete mode 100644 src/main`java/com/alibaba/excel/constant/ExcelXmlConstants.java diff --git a/README.md b/README.md index 26f0f41d..59a8c2e5 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Java解析、生成Excel比较有名的框架有Apache poi、jxl。但他们都 * [更新记事](/update.md) * [English-README](/easyexcel_en.md) + # 二方包 ``` diff --git a/pom.xml b/pom.xml index f14bdc3b..ac18f11e 100644 --- a/pom.xml +++ b/pom.xml @@ -7,6 +7,7 @@ 1.1.0 jar easyexcel + easyexcel is a excel handle tools written in Java https://github.com/alibaba/easyexcel diff --git a/src/main/java/com/alibaba/excel/analysis/v07/XlsxSaxAnalyser.java b/src/main/java/com/alibaba/excel/analysis/v07/XlsxSaxAnalyser.java index cfc30f7e..a3debed7 100644 --- a/src/main/java/com/alibaba/excel/analysis/v07/XlsxSaxAnalyser.java +++ b/src/main/java/com/alibaba/excel/analysis/v07/XlsxSaxAnalyser.java @@ -34,6 +34,7 @@ public class XlsxSaxAnalyser extends BaseSaxAnalyser { private List sheetSourceList = new ArrayList(); + private boolean use1904WindowDate = false; public XlsxSaxAnalyser(AnalysisContext analysisContext) throws IOException, OpenXML4JException, XmlException { diff --git a/src/main`java/com/alibaba/excel/annotation/FieldType.java b/src/main`java/com/alibaba/excel/annotation/FieldType.java deleted file mode 100644 index 73729959..00000000 --- a/src/main`java/com/alibaba/excel/annotation/FieldType.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.alibaba.excel.annotation; - -/** - * - * @author jipengfei - */ -public enum FieldType { - - STRING, INT, LONG, DATE, BOOLEAN, DOUBLE,EMPTY; - -} diff --git a/src/main`java/com/alibaba/excel/constant/ExcelXmlConstants.java b/src/main`java/com/alibaba/excel/constant/ExcelXmlConstants.java deleted file mode 100644 index dcd2d5a4..00000000 --- a/src/main`java/com/alibaba/excel/constant/ExcelXmlConstants.java +++ /dev/null @@ -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"; - -}