Package edu.hm.hafner.analysis
Class FileNameResolver
- java.lang.Object
-
- edu.hm.hafner.analysis.FileNameResolver
-
public class FileNameResolver extends Object
Resolves the affected files of a set of issues in a given source directory. Replaces all file names with the relative file names in this folder. File names that cannot be resolved will be left unchanged.- Author:
- Ullrich Hafner
-
-
Constructor Summary
Constructors Constructor Description FileNameResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(Report report, String sourceDirectoryPrefix, Predicate<String> skipFileNamePredicate)Resolves the file names of the affected files of the specified set of issues.
-
-
-
Method Detail
-
run
public void run(Report report, String sourceDirectoryPrefix, Predicate<String> skipFileNamePredicate)
Resolves the file names of the affected files of the specified set of issues.- Parameters:
report- the issues to resolve the pathssourceDirectoryPrefix- absolute source path that should be used as parent folder to search for filesskipFileNamePredicate- skip specific files based on the file name
-
-