Class RecursiveFileFinder
java.lang.Object
org.eclipse.ui.wizards.datatransfer.RecursiveFileFinder
- All Implemented Interfaces:
IResourceVisitor
A simple resource visitor that allows to find one or more files by name in a
IContainer- Since:
- 3.12
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RecursiveFileFinder
- Parameters:
fileName- the name of the file to look forignoredDirectories- which directories are excluded from research. Sub-directories will get ignored too.
-
-
Method Details
-
visit
Description copied from interface:IResourceVisitorVisits the given resource.- Specified by:
visitin interfaceIResourceVisitor- Parameters:
res- the resource to visit- Returns:
trueif the resource's members should be visited;falseif they should be skipped
-
getFile
- Returns:
- the first found file with right name
-
getFiles
- Returns:
- All found files
-