/Users/lyon/j4p/src/futils/FileFilter.java

1    package futils; 
2     
3    import java.io.File; 
4    import java.io.FilenameFilter; 
5     
6    public class FileFilter implements FilenameFilter { 
7        public boolean accept(File dir, String name) { 
8            return new File(dir, name).isFile(); 
9        } 
10    
11   } 
12    
13