Skip to content

Commit 3ac54c3

Browse files
committed
增加写回调可以自定义样式
1 parent d2fd97d commit 3ac54c3

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/main/java/com/alibaba/excel/ExcelWriter.java

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* This object can perform the following two functions.
1919
* <pre>
2020
* 1. Create a new empty Excel workbook, write the data to the stream after the data is filled.
21-
* 2. Edit existing Excel, write the original Excel file, or write it to other places.{@link ExcelWriter(InputStream , OutputStream , ExcelTypeEnum , boolean )}
21+
* 2. Edit existing Excel, write the original Excel file, or write it to other places.}
2222
* </pre>
2323
* @author jipengfei
2424
*/
@@ -40,7 +40,6 @@ public ExcelWriter(OutputStream outputStream, ExcelTypeEnum typeEnum) {
4040

4141
/**
4242
* @param generateParam
43-
* @since easyexcel 0.0.1 Use {@link new ExcelWrite(int, int, int)
4443
*/
4544
@Deprecated
4645
public ExcelWriter(GenerateParam generateParam) {
@@ -83,7 +82,7 @@ public ExcelWriter(InputStream templateInputStream, OutputStream outputStream, E
8382
}
8483

8584
/**
86-
* Write data(List<? extends BaseRowModel>) to a sheet
85+
* Write data to a sheet
8786
* @param data Data to be written
8887
* @param sheet Write to this sheet
8988
* @return this current writer
@@ -111,7 +110,7 @@ public ExcelWriter write(List data) {
111110

112111
/**
113112
*
114-
* Write data(List<List<String>>) to a sheet
113+
* Write data to a sheet
115114
* @param data Data to be written
116115
* @param sheet Write to this sheet
117116
* @return this
@@ -122,7 +121,7 @@ public ExcelWriter write1(List<List<Object>> data, Sheet sheet) {
122121
}
123122

124123
/**
125-
* Write data(List<List<String>>) to a sheet
124+
* Write data to a sheet
126125
* @param data Data to be written
127126
* @param sheet Write to this sheet
128127
* @return this
@@ -133,7 +132,7 @@ public ExcelWriter write0(List<List<String>> data, Sheet sheet) {
133132
}
134133

135134
/**
136-
* Write data(List<? extends BaseRowModel>) to a sheet
135+
* Write data to a sheet
137136
* @param data Data to be written
138137
* @param sheet Write to this sheet
139138
* @param table Write to this table
@@ -145,7 +144,7 @@ public ExcelWriter write(List<? extends BaseRowModel> data, Sheet sheet, Table t
145144
}
146145

147146
/**
148-
* Write data(List<List<String>>) to a sheet
147+
* Write data to a sheet
149148
* @param data Data to be written
150149
* @param sheet Write to this sheet
151150
* @param table Write to this table
@@ -170,7 +169,7 @@ public ExcelWriter merge(int firstRow, int lastRow, int firstCol, int lastCol){
170169
}
171170

172171
/**
173-
* Write data(List<List<Object>>) to a sheet
172+
* Write data to a sheet
174173
* @param data Data to be written
175174
* @param sheet Write to this sheet
176175
* @param table Write to this table

src/main/java/com/alibaba/excel/write/ExcelBuilderImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
/**
2727
* @author jipengfei
28-
* @date 2017/05/27
2928
*/
3029
public class ExcelBuilderImpl implements ExcelBuilder {
3130

0 commit comments

Comments
 (0)