Package com.e1c.g5.v8.internal.snapshot
Class MetadataFilesScanner
java.lang.Object
com.e1c.g5.v8.internal.snapshot.MetadataFilesScanner
Utility for collecting metadata files.
-
Constructor Summary
Constructors -
Method Summary
-
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 benullpathFilter- the predicate which returnstrueif the path should be included in the result, cannot benullprogressMonitor- the progress monitor, may benull- Returns:
- the list of paths
- Throws:
IOException- if an IO error occurs
-