/FileFinder

Java module to recursively search a folder for a file. Finds only a exact match of the file name, ignoring case. Returns only the first match.

Primary LanguageJavaMIT LicenseMIT

FileFinder

Code to recursively search a folder for a file.

  • Finds only a exact match of the file name, ignoring case.
  • Returns only the first match.

Depends on

- java.io.File;
- java.io.IOException;
- org.apache.commons.io.FileUtils;

Use

FileFinder ff = new FileFinder();
File fOut = ff.findFile(folderName, fileName);