Skip to content

Commit 517fa76

Browse files
committed
处理编码,处理命名
1 parent 88c3a7f commit 517fa76

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/main/java/seven/callBack/CellStyleCallbackWapper.java renamed to src/main/java/seven/callBack/CellStyleCallbackWrapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
* [Github]https://github.com/MatrixSeven
2626
* Created by seven on 2017/1/11.
2727
*/
28-
public final class CellStyleCallbackWapper {
28+
public final class CellStyleCallbackWrapper {
2929
CellStyleInterface cellStyle;
3030
String name;
31-
public CellStyleCallbackWapper(String name, CellStyleInterface cellStyle) {
31+
public CellStyleCallbackWrapper(String name, CellStyleInterface cellStyle) {
3232
this.cellStyle = cellStyle;
3333
this.name = name;
3434
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public abstract class SaveExcelObject<T> implements SaveExcel {
5252
protected Workbook wk = null;
5353
protected HashMap<String, String> convert_title = new HashMap<>();
5454
protected HashMap<String, CellStyle> cell_style = new HashMap<>();
55-
private List<CellStyleCallbackWapper> cellStyleCallbackWappers = new ArrayList<>();
55+
private List<CellStyleCallbackWrapper> cellStyleCallbackWappers = new ArrayList<>();
5656

5757

5858
public SaveExcelObject(List<T> list, String path) {
@@ -163,7 +163,7 @@ public SaveExcel ConvertName(HashMap<String, String> title_mapping, Boolean is_i
163163
@Override
164164
public SaveExcel SetCellStyle(String name, CellStyleInterface styleInterface) {
165165
if (wk == null) {
166-
cellStyleCallbackWappers.add(new CellStyleCallbackWapper(name, styleInterface));
166+
cellStyleCallbackWappers.add(new CellStyleCallbackWrapper(name, styleInterface));
167167
return this;
168168
}
169169
cell_style.put(name, styleInterface.create(CellStyle.CreateStyle(wk.createCellStyle())));
@@ -174,7 +174,7 @@ protected void tryCreateCellStyle() throws Exception {
174174
if (wk == null) {
175175
throw new Exception("请输入路径并且初始化WK对象");
176176
}
177-
for (CellStyleCallbackWapper c : cellStyleCallbackWappers) {
177+
for (CellStyleCallbackWrapper c : cellStyleCallbackWappers) {
178178
c.create(wk, cell_style);
179179
}
180180
}

src/main/java/seven/wapperInt/wapperRef/WrapperObj.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// `;_: `"'
1313
// .'"""""`.
1414
// /, ya ,\\
15-
// //镫楃淇濅綉 \\
15+
// //狗神保佑 \\
1616
// `-._______.-'
1717
// ___`. | .'___
1818
// (______|______)
@@ -32,15 +32,15 @@
3232

3333
/**
3434
* @author Seven<p>
35-
* @date 2016骞?链?2镞?涓嫔崃4:07:57
35+
* @date 2016年4月12日-下午4:07:57
3636
*/
3737
public abstract class WrapperObj<T> extends Wrapper {
3838
protected DataFilterInterface filter=new DefaultDataFilter<Object>();
3939
protected DataFilterProcessInterface process=new DefaultDataProFilter<Object>();
4040
protected List<String> filterColBy_key=new ArrayList<>();
4141
protected List<String> filterColBy_value=new ArrayList<>();
4242
protected Comparator<? super Object> c=null;
43-
protected String fs;
43+
protected String fs;
4444
protected static final boolean isMap=false;
4545

4646
protected abstract <T> T RefResWapper(String fs,boolean isMap,String key) throws Exception;

0 commit comments

Comments
 (0)