java删除文件

好吧,我承认,我是半路出家的,以前删文件总是想“Runtime.exec()"这种操作



File file = new File(fileName);
file.delete();

posted on 2017-10-01 16:32  blbl9527  阅读(74)  评论(0编辑  收藏  举报

导航


github sina微博 FB