Package io.quarkus.paths
Interface PathTreeUtils
public interface PathTreeUtils
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic StringReturns a path as a string using the specified separator.static booleancontainsCaseSensitivePath(PathTree pathTree, String relativePath) Checks whether a path tree contains a given relative path respecting case sensitivity even on Windows.
-
Method Details
-
asString
Returns a path as a string using the specified separator.- Parameters:
path- path to convert to a stringseparator- path element separator- Returns:
- string representation of a path
-
containsCaseSensitivePath
Checks whether a path tree contains a given relative path respecting case sensitivity even on Windows.Path API on Windows may resolve
templatestoTemplates. This method helps verify whether a given relative path actually exists.- Parameters:
pathTree- path treerelativePath- relative path to check- Returns:
- true if a path tree contains a given relative path
-