刚写完,还热乎着
public static void main(String[] args){
try {
new DelFile().execute(args);
} catch (Exception e) {
e.printStackTrace();
}
}
public void delFile(String filePath)throws Exception{
boolean flag=(new File(filePath)).delete();
}