Package org.eclipse.jetty.start
Class PathMatchers
java.lang.Object
org.eclipse.jetty.start.PathMatchers
Common PathMatcher implementations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PathMatcher
getMatcher
(String rawpattern) static PathMatcher
static Path
getSearchRoot
(String pattern) Provide the non-glob / non-regex prefix on the pattern as a Path reference.static boolean
isAbsolute
(String pattern) Tests if provided pattern is an absolute reference (or not)
-
Constructor Details
-
PathMatchers
public PathMatchers()
-
-
Method Details
-
getMatcher
-
getNonHidden
-
getSearchRoot
Provide the non-glob / non-regex prefix on the pattern as a Path reference.- Parameters:
pattern
- the pattern to test- Returns:
- the Path representing the search root for the pattern provided.
-
isAbsolute
Tests if provided pattern is an absolute reference (or not)- Parameters:
pattern
- the pattern to test- Returns:
- true if pattern is an absolute reference.
-