📅  最后修改于: 2022-03-11 14:52:49.492000             🧑  作者: Mango
String[]entries = index.list();
for(String s: entries){
File currentFile = new File(index.getPath(),s);
currentFile.delete();
}