From c90f24d28d82a9e4e0cc284f2e638d2df9e65743 Mon Sep 17 00:00:00 2001 From: "jipengfei.jpf" Date: Tue, 13 Nov 2018 14:34:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8Dbug=EF=BC=8C=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=B7=A5=E5=85=B7=EF=BC=8C=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E8=BD=AC=E6=8D=A2=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/alibaba/excel/ExcelWriter.java | 16 ++++++++-------- .../java/com/alibaba/excel/util/StringUtils.java | 4 ++-- .../com/alibaba/excel/write/ExcelBuilder.java | 7 +++---- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/alibaba/excel/ExcelWriter.java b/src/main/java/com/alibaba/excel/ExcelWriter.java index a8dda85..6d9ebe4 100644 --- a/src/main/java/com/alibaba/excel/ExcelWriter.java +++ b/src/main/java/com/alibaba/excel/ExcelWriter.java @@ -17,7 +17,7 @@ import java.util.List; * This object can perform the following two functions. *
  *    1. Create a new empty Excel workbook, write the data to the stream after the data is filled.
- *    2. Edit existing Excel, write the original Excel file, or write it to other places.{@link ExcelWriter(InputStream , OutputStream , ExcelTypeEnum , boolean )}
+ *    2. Edit existing Excel, write the original Excel file, or write it to other places.
  * 
* @author jipengfei */ @@ -39,7 +39,7 @@ public class ExcelWriter { /** * @param generateParam - * @since easyexcel 0.0.1 Use {@link new ExcelWrite(int, int, int) + * @since easyexcel 0.0.1 */ @Deprecated public ExcelWriter(GenerateParam generateParam) { @@ -69,7 +69,7 @@ public class ExcelWriter { } /** - * Write data(List) to a sheet + * Write data to a sheet * @param data Data to be written * @param sheet Write to this sheet * @return this current writer @@ -97,7 +97,7 @@ public class ExcelWriter { /** * - * Write data(List>) to a sheet + * Write data to a sheet * @param data Data to be written * @param sheet Write to this sheet * @return this @@ -108,7 +108,7 @@ public class ExcelWriter { } /** - * Write data(List>) to a sheet + * Write data to a sheet * @param data Data to be written * @param sheet Write to this sheet * @return this @@ -119,7 +119,7 @@ public class ExcelWriter { } /** - * Write data(List) to a sheet + * Write data to a sheet * @param data Data to be written * @param sheet Write to this sheet * @param table Write to this table @@ -131,7 +131,7 @@ public class ExcelWriter { } /** - * Write data(List>) to a sheet + * Write data to a sheet * @param data Data to be written * @param sheet Write to this sheet * @param table Write to this table @@ -156,7 +156,7 @@ public class ExcelWriter { } /** - * Write data(List>) to a sheet + * Write data to a sheet * @param data Data to be written * @param sheet Write to this sheet * @param table Write to this table diff --git a/src/main/java/com/alibaba/excel/util/StringUtils.java b/src/main/java/com/alibaba/excel/util/StringUtils.java index bd7e12f..83ddd18 100644 --- a/src/main/java/com/alibaba/excel/util/StringUtils.java +++ b/src/main/java/com/alibaba/excel/util/StringUtils.java @@ -549,7 +549,7 @@ public abstract class StringUtils { /** * Extract the filename extension from the given Java resource path, - * e.g. "mypath/myfile.txt" -> "txt". + * * @param path the file path (may be {@code null}) * @return the extracted filename extension, or {@code null} if none */ @@ -573,7 +573,7 @@ public abstract class StringUtils { /** * Strip the filename extension from the given Java resource path, - * e.g. "mypath/myfile.txt" -> "mypath/myfile". + * * @param path the file path * @return the path with stripped filename extension */ diff --git a/src/main/java/com/alibaba/excel/write/ExcelBuilder.java b/src/main/java/com/alibaba/excel/write/ExcelBuilder.java index 787807e..c016018 100644 --- a/src/main/java/com/alibaba/excel/write/ExcelBuilder.java +++ b/src/main/java/com/alibaba/excel/write/ExcelBuilder.java @@ -10,11 +10,10 @@ import java.util.List; */ public interface ExcelBuilder { - /** * workBook increase data * - * @param data List> or List + * @param data java basic type or java model extend BaseModel * @param startRow Start row number */ void addContent(List data, int startRow); @@ -22,7 +21,7 @@ public interface ExcelBuilder { /** * WorkBook increase data * - * @param data List> or List + * @param data java basic type or java model extend BaseModel * @param sheetParam Write the sheet */ void addContent(List data, Sheet sheetParam); @@ -30,7 +29,7 @@ public interface ExcelBuilder { /** * WorkBook increase data * - * @param data List> or List + * @param data java basic type or java model extend BaseModel * @param sheetParam Write the sheet * @param table Write the table */