public static List < File > listFiles ( File dir , FileFilter filter , boolean recursive ) { List < File > list = new ArrayList < File > ( ) ; listFilesInternal ( list , dir , filter , recursive ) ; return list ; }
List files ONLY not include directories .