private static File [ ] getCowFiles ( final String folder ) { File dir = new File ( folder ) ; File [ ] files ; files = dir . listFiles ( new FilenameFilter ( ) { @ Override public boolean accept ( final File dir , final String name ) { return name . endsWith ( ".cow" ) ; } } ) ; return files ; }
Gets all cowfiles found in the given directory .