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