public class PathMatchers
extends java.lang.Object
Constructor and Description |
---|
PathMatchers() |
Modifier and Type | Method and Description |
---|---|
static java.nio.file.PathMatcher |
getMatcher(java.lang.String rawpattern) |
static java.nio.file.PathMatcher |
getNonHidden() |
static java.nio.file.Path |
getSearchRoot(java.lang.String pattern)
Provide the non-glob / non-regex prefix on the pattern as a Path reference.
|
static boolean |
isAbsolute(java.lang.String pattern)
Tests if provided pattern is an absolute reference (or not)
|
public static java.nio.file.PathMatcher getMatcher(java.lang.String rawpattern)
public static java.nio.file.PathMatcher getNonHidden()
public static java.nio.file.Path getSearchRoot(java.lang.String pattern)
pattern
- the pattern to testpublic static boolean isAbsolute(java.lang.String pattern)
pattern
- the pattern to testCopyright © 1995–2023 Webtide. All rights reserved.