public class PathMatchers extends Object
| Constructor and Description |
|---|
PathMatchers() |
| Modifier and Type | Method and Description |
|---|---|
static PathMatcher |
getMatcher(String rawpattern) |
static PathMatcher |
getNonHidden() |
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)
|
public static PathMatcher getMatcher(String rawpattern)
public static PathMatcher getNonHidden()
public static Path getSearchRoot(String pattern)
pattern - the pattern to testpublic static boolean isAbsolute(String pattern)
pattern - the pattern to testCopyright © 1995-2015 Webtide. All Rights Reserved.