@ThreadSafe public final class PrefixPathMatcher extends Object implements PathMatcher
PathMatcherto match a path against a set of paths. Path a matches path b if a is the same as b or a is in the subtree of b. For example: /a/b/c matches /a/b, but /a/bc does not match /a/b because although /a/b is a prefix of /a/bc, /a/bc is not in the subtree of /a/b.
|Constructor and Description|
Builds internal trie based on paths.
public Optional<List<String>> match(AlluxioURI path)
path- the path to be matched, must start with "/"
Copyright © 2023. All Rights Reserved.