Package com.google.common.jimfs
Class PathMatchers.RegexPathMatcher
- java.lang.Object
-
- com.google.common.jimfs.PathMatchers.RegexPathMatcher
-
- All Implemented Interfaces:
java.nio.file.PathMatcher
- Enclosing class:
- PathMatchers
static final class PathMatchers.RegexPathMatcher extends java.lang.Object implements java.nio.file.PathMatcher
PathMatcher
that matches thetoString()
form of aPath
against a regexPattern
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.regex.Pattern
pattern
-
Constructor Summary
Constructors Modifier Constructor Description private
RegexPathMatcher(java.util.regex.Pattern pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(java.nio.file.Path path)
java.lang.String
toString()
-