Package host.anzo.commons.utils
Class PathUtils
java.lang.Object
host.anzo.commons.utils.PathUtils
- Since:
- 6/12/2024
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontainsSubPath(Path fullPath, Path subPath) Checks if a given sub-path is contained within a full path.
-
Constructor Details
-
PathUtils
public PathUtils()
-
-
Method Details
-
containsSubPath
Checks if a given sub-path is contained within a full path.- Parameters:
fullPath- the complete path to be checkedsubPath- the sub-path to search for within the full path- Returns:
trueif the sub-path is found within the full path,falseotherwise
-