Klasse 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.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • FileNameResolver

      public FileNameResolver()
  • Methodendetails

    • 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.
      Parameter:
      report - the issues to resolve the paths
      sourceDirectoryPrefix - absolute source path that should be used as parent folder to search for files
      skipFileNamePredicate - skip specific files based on the file name