摘要: import java.io.File; public class FileSuffixDemo { public static void main(String[] args) { demo(new File(""),"txt"); //传txt后缀名到demo方法中 } public stati 阅读全文
posted @ 2018-12-16 23:31 朴剑 阅读(531) 评论(0) 推荐(0) 编辑
摘要: import java.io.File; public class deleDemo { public static void main(String[] args) { demo(new File("D:\\javaTest")); //demo2(new File("D:\\javaTest") 阅读全文
posted @ 2018-12-16 23:19 朴剑 阅读(1042) 评论(0) 推荐(0) 编辑