Skip to content

Commit 6044160

Browse files
committed
统一文件编码为utf-8
1 parent 0813fa4 commit 6044160

19 files changed

Lines changed: 81 additions & 80 deletions

src/main/java/seven/ExcelFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
// `;_: `"'
2525
// .'"""""`.
2626
// /, ya ,\\
27-
// //狗神保佑 \\
27+
// //狗神保佑 \\
2828
// `-._______.-'
2929
// ___`. | .'___
3030
// (______|______)
3131
//=======================================================
3232
/**
3333
* @author Seven<p>
34-
* @date 2016年6月4日-下午4:08:19
34+
* @date 2016年6月4日-下午4:08:19
3535
*/
3636
@SuppressWarnings("unchecked")
3737
public class ExcelFactory {
@@ -44,7 +44,7 @@ public static Wrapper getBeans(String FilePath, WrapperObj r) throws Exception {
4444
}
4545
public static SaveExcel saveExcel(List<? extends Object> bean, String FilePath) throws Exception {
4646
if (bean.size() < 1) {
47-
throw new Exception("请传入数据");
47+
throw new Exception("请传入数据");
4848
}
4949
if (bean.get(0) instanceof Map) {
5050
return new ResExprotMap((List<Map>) bean,FilePath);

src/main/java/seven/ExcelSuperInterface.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// `;_: `"'
1010
// .'"""""`.
1111
// /, ya ,\\
12-
// //¹·Éñ±£ÓÓ\\
12+
// //狗神保佑\\
1313
// `-._______.-'
1414
// ___`. | .'___
1515
// (______|______)

src/main/java/seven/anno/ExcelAnno.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
// `;_: `"'
1616
// .'"""""`.
1717
// /, ya ,\\
18-
// //¹·Éñ±£ÓÓ \\
18+
// //狗神保佑 \\
1919
// `-._______.-'
2020
// ___`. | .'___
2121
// (______|______)
2222
//=======================================================
2323
/**
2424
* @author Seven<p>
25-
* @date 2016Äê6ÔÂ4ÈÕ-ÏÂÎç4:07:33
25+
* @date 2016年6月4日-下午4:07:33
2626
*/
2727
@Target(ElementType.FIELD)
2828
@Retention(RetentionPolicy.RUNTIME)

src/main/java/seven/callBack/DataFilterColumnInterface.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
* [Github]https://github.com/MatrixSeven
55
* [Bolg]https://matrixseven.github.io/
66
* Created by seven on 2016/10/19.
7-
* 此处过滤Excel的列数据(列名)
8-
* 如果加入后,将不对实体进行赋值
7+
* 此处过滤Excel的列数据(列名)
8+
* 如果加入后,将不对实体进行赋值
99
*/
10+
@FunctionalInterface
1011
public interface DataFilterColumnInterface {
1112
/**
12-
* 此处过滤Excel的列数据(列名)
13-
* 如果加入后,将不对实体进行赋值
13+
* 此处过滤Excel的列数据(列名)
14+
* 如果加入后,将不对实体进行赋值
1415
* @return
1516
*/
1617
public String[] filter();

src/main/java/seven/callBack/DataFilterInterface.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
* [Github]https://github.com/MatrixSeven
55
* [Bolg]https://matrixseven.github.io/
66
* Created by seven on 2016/10/18.
7-
* 对要包装的数据进行过滤,对应实体Bean,如果返回false将放弃此条数据
8-
* T为实体Bean类型
7+
* 对要包装的数据进行过滤,对应实体Bean,如果返回false将放弃此条数据
8+
* T为实体Bean类型
99
*/
1010
@FunctionalInterface
1111
public interface DataFilterInterface<T> {
1212
/**
13-
* 对要包装的数据进行过滤,对应实体Bean\n
14-
* 如果返回false将放弃此条数据
15-
* @param t 实体Bean类型
13+
* 对要包装的数据进行过滤,对应实体Bean\n
14+
* 如果返回false将放弃此条数据
15+
* @param t 实体Bean类型
1616
* @return
1717
*/
1818
Boolean filter(T t);

src/main/java/seven/callBack/DataFilterProcessInterface.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
* [Github]https://github.com/MatrixSeven
77
* [Bolg]https://matrixseven.github.io/
88
* Created by seven on 2016/10/18.
9-
* 此处传入每一行打包好的数据。对应一个实体
10-
* T为实体Bean类型
9+
* 此处传入每一行打包好的数据。对应一个实体
10+
* T为实体Bean类型
1111
*/
1212
@FunctionalInterface
1313
public interface DataFilterProcessInterface<T>{
1414
/***
15-
* 此处传入每一行打包好的数据。对应一个实体,
16-
* 在process方法里可对属性进行处理加工
17-
* @param t 实体类型
15+
* 此处传入每一行打包好的数据。对应一个实体,
16+
* 在process方法里可对属性进行处理加工
17+
* @param t 实体类型
1818
*/
1919
void process(T t);
2020
}

src/main/java/seven/callBack/PackageDataInterface.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// `;_: `"'
1010
// .'"""""`.
1111
// /, ya ,\\
12-
// //¹·Éñ±£ÓÓ\\
12+
// //狗神保佑\\
1313
// `-._______.-'
1414
// ___`. | .'___
1515
// (______|______)

src/main/java/seven/savewapper/SaveExcel.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// `;_: `"'
1010
// .'"""""`.
1111
// /, ya ,\\
12-
// //狗神保佑\\
12+
// //狗神保佑\\
1313
// `-._______.-'
1414
// ___`. | .'___
1515
// (______|______)
@@ -31,31 +31,31 @@ public interface SaveExcel extends ExcelSuperInterface {
3131

3232
void Save() throws Exception;
3333
/**
34-
* 对要包装的数据进行过滤,对应实体Bean\n
35-
* 如果返回false将放弃此条数据
34+
* 对要包装的数据进行过滤,对应实体Bean\n
35+
* 如果返回false将放弃此条数据
3636
* @param filter {@link DataFilterInterface}
3737
* @return
3838
*/
3939
public abstract SaveExcel Filter(DataFilterInterface<?> filter);
4040

4141
/**
42-
*此处传入每一行打包好的数据。对应一个实体\n
43-
* 在process方法里可对属性进行处理加工
42+
*此处传入每一行打包好的数据。对应一个实体\n
43+
* 在process方法里可对属性进行处理加工
4444
* @param process {@link DataFilterProcessInterface}
4545
* @return
4646
*/
4747
public abstract SaveExcel Process(DataFilterProcessInterface<?> process);
4848

4949
/**
50-
* 对结果的List进行排序
50+
* 对结果的List进行排序
5151
* @param c
5252
* @return
5353
*/
5454
public abstract SaveExcel Sort(Comparator<? super Object> c);
5555

5656
/**
57-
* 此处过滤Excel的列数据(列名)\n
58-
* 如果加入后,将不对实体进行赋值
57+
* 此处过滤Excel的列数据(列名)\n
58+
* 如果加入后,将不对实体进行赋值
5959
* @param df {@link DataFilterColumnInterface}
6060
*/
6161
public abstract SaveExcel FilterCol(DataFilterColumnInterface df);

src/main/java/seven/savewapper/wapperRef/SaveExcelObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// `;_: `"'
1010
// .'"""""`.
1111
// /, ya ,\\
12-
// //¹·Éñ±£ÓÓ\\
12+
// //狗神保佑\\
1313
// `-._______.-'
1414
// ___`. | .'___
1515
// (______|______)

src/main/java/seven/savewapper/wapperRef/sysWppers/ResExprotDBMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// `;_: `"'
1010
// .'"""""`.
1111
// /, ya ,\\
12-
// //¹·Éñ±£ÓÓ\\
12+
// //狗神保佑\\
1313
// `-._______.-'
1414
// ___`. | .'___
1515
// (______|______)

0 commit comments

Comments
 (0)