Why won't the following compile?



FileFilter ff = new FileNameExtensionFilter("...");
File[] files = new File("...").listFiles(ff);


Says that there is no listFiles(FileFilter) method of...