测试穿山甲资源包工具
This commit is contained in:
@@ -69,6 +69,7 @@ public class Tools {
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>ʧ<EFBFBD>ܣ<EFBFBD><DCA3><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>Ŀ¼ʧ<C2BC><CAA7>
|
||||
return false;
|
||||
}
|
||||
destFile.delete();
|
||||
|
||||
}
|
||||
|
||||
@@ -82,7 +83,7 @@ public class Tools {
|
||||
fileName=srcFile.getName();
|
||||
}
|
||||
in = new FileInputStream(srcFile);
|
||||
out = new FileOutputStream(destFile + "/" +fileName );
|
||||
out = new FileOutputStream(destFile);
|
||||
byte[] buffer = new byte[1024];
|
||||
|
||||
while ((byteread = in.read(buffer)) != -1) {
|
||||
|
||||
Reference in New Issue
Block a user