Package com.regnosys.rosetta.common.util
Class PathUtils
java.lang.Object
com.regnosys.rosetta.common.util.PathUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilterSubPaths(Collection<Path> paths) Filter sub-paths (e.g.getExcludedPaths(String excludedPathsFile) Parse contents of excluded paths file into list of path objects.static PathtoPath(com.rosetta.model.lib.path.RosettaPath rosettaPath) static com.rosetta.model.lib.path.RosettaPathtoRosettaPath(Path path)
-
Constructor Details
-
PathUtils
public PathUtils()
-
-
Method Details
-
toRosettaPath
-
toPath
-
getExcludedPaths
Parse contents of excluded paths file into list of path objects. -
filterSubPaths
Filter sub-paths (e.g. that endWith other paths) from list of paths. e.g. given list ["a.b.c", "b.c", "c", "a.b", "x.y.z"] would be filtered to ["a.b.c", "a.b", "x.y.z"].
-