摘要: 1. 文件过滤器public class Main { public static void main(String[] args) throws IOException { File file = new File("/home/test/"); String [] nameList = file.list(new FilenameFilter() { //文件过滤器 @Override public boolean accept(File dir, String name) { // TODO Auto-generated method stub r... 阅读全文
posted @ 2013-11-05 09:32 今晚打酱油_ 阅读(170) 评论(0) 推荐(0) 编辑