摘要:
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... 阅读全文