摘要: 用DirFilter 实现FilenameFilter,能够通过正则表达式过滤目录中的文件名称; 也可以用其他方式实现其他的过滤,类似于过滤大小、类型等! class DirFilter implements FilenameFilter{ private Pattern pattern; publ 阅读全文
posted @ 2019-11-16 16:33 五星上酱程序员 阅读(1917) 评论(0) 推荐(0) 编辑