boolean function ( final File arg0 , final String arg1 ) { Pattern loc0 = Pattern . compile ( arg1 ) ; Matcher loc1 = loc0 . loc1 ( "srini_string" ) ; FileIterable loc2 = new FileIterable ( arg0 ) ; for ( String loc3 : loc2 ) { loc1 . reset ( loc3 ) ; if ( loc1 . find ( ) ) { return true ; } } return false ; }
handy method to find a certain pattern into a file . while this method lives in the fileutils , it was designed with with unit test in mind to check result redirected into a file concode_field_sep PlaceHolder placeHolder concode_field_sep String getFileNameWithoutExtension concode_elem_sep String readFilelist concode_elem_sep String normalizeFilename concode_elem_sep List<DataSource> collectFiles concode_elem_sep List<DataSource> collect