Class MetadataFilesScanner

java.lang.Object
com.e1c.g5.v8.internal.snapshot.MetadataFilesScanner

public final class MetadataFilesScanner extends Object
Utility for collecting metadata files.
  • Constructor Details

    • MetadataFilesScanner

      public MetadataFilesScanner()
  • Method Details

    • listPaths

      public static List<Path> listPaths(Path sourcePath, Predicate<Path> pathFilter, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws IOException
      Collects a list of files under the given root, which satisfy the given filter.
      Parameters:
      sourcePath - the root folder to scan, cannot be null
      pathFilter - the predicate which returns true if the path should be included in the result, cannot be null
      progressMonitor - the progress monitor, may be null
      Returns:
      the list of paths
      Throws:
      IOException - if an IO error occurs