删除缓存文件
parent
6c16f4dc8e
commit
8174eac8d8
|
@ -384,6 +384,11 @@ public class Warden {
|
|||
zipOut.write(buffer, 0, len);
|
||||
}
|
||||
fileInputStream.close();
|
||||
// 删除文件
|
||||
boolean isDelete = file.delete();
|
||||
if (isDelete){
|
||||
System.out.println("删除文件成功");
|
||||
}
|
||||
}
|
||||
zipOut.flush();
|
||||
zipOut.closeEntry();
|
||||
|
|
Loading…
Reference in New Issue