File [ ] function ( File arg0 , String arg1 ) { HashSet loc0 = getAllSubFilesInHash ( arg0 , arg1 ) ; File [ ] loc1 = new File [ loc0 . size ( ) ] ; Iterator loc2 = loc0 . iterator ( ) ; for ( int loc3 = 0 ; loc3 < loc1 . length ; loc3 ++ ) { loc1 [ loc3 ] = ( File ) loc2 . next ( ) ; } return loc1 ; }
returns all the files of a given directory and its subdirectories . the search is recursive . concode_field_sep PlaceHolder placeHolder concode_field_sep HashSet getAllSubFilesInHash concode_elem_sep String[] extractFiles concode_elem_sep HashSet getAllSubDirectories concode_elem_sep File[] getAllSubDirectories concode_elem_sep String[] listOfFilesToMine concode_elem_sep HashSet getSubFilesInHash concode_elem_sep HashSet getAllSubDirectoriesInHash concode_elem_sep File[] getSubFiles concode_elem_sep File[] getDirectories