(HashMap resultHash, String xlsxPwd)
| 9 | public class toFile { |
| 10 | |
| 11 | public static void toXlsxFile(HashMap resultHash, String xlsxPwd){ |
| 12 | writeToXlsx.createXlsx(xlsxPwd); |
| 13 | int i = 0; |
| 14 | for (Object key : resultHash.keySet()) { |
| 15 | String a = key.toString(); |
| 16 | String b = Check1.checkt(a); |
| 17 | String resultAll = (String) resultHash.get(a); |
| 18 | String[] var = resultAll.split("!!!!"); |
| 19 | String c = var[0]; |
| 20 | String d = var[1]; |
| 21 | writeToXlsx.writeXlsx(xlsxPwd,i,0,"宋体",i+1+""); |
| 22 | writeToXlsx.writeXlsx(xlsxPwd,i,1,"宋体",b); |
| 23 | writeToXlsx.writeXlsx(xlsxPwd,i,2,"宋体",c); |
| 24 | writeToXlsx.writeXlsx(xlsxPwd,i,3,"宋体",d); |
| 25 | i += 1; |
| 26 | } |
| 27 | |
| 28 | } |
| 29 | |
| 30 | public static void toPrint(HashMap resultHash){ |
| 31 | // writeToXlsx.createXlsx(xlsxPwd); |
no test coverage detected