Package net.sourceforge.pmd.util
Class FileFinder
- java.lang.Object
-
- net.sourceforge.pmd.util.FileFinder
-
@Deprecated @InternalApi public class FileFinder extends Object
Deprecated.Is internal APIA utility class for finding files within a directory.
-
-
Constructor Summary
Constructors Constructor Description FileFinder()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<File>
findFilesFrom(File dir, FilenameFilter filter, boolean recurse)
Deprecated.Searches for files in a given directory.
-
-
-
Method Detail
-
findFilesFrom
public List<File> findFilesFrom(File dir, FilenameFilter filter, boolean recurse)
Deprecated.Searches for files in a given directory.- Parameters:
dir
- the directory to search filesfilter
- the filename filter that can optionally be passed to get files that match this filterrecurse
- search for files recursively or not- Returns:
- list of files from the given directory
-
-