Class Glob
java.lang.Object
org.casbin.jcasbin.util.Glob
- Since:
- 2021/1/13
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanisGlobMeta(char c) private static booleanisRegexMeta(char c) private static charstatic StringtoRegexPattern(String globPattern) Creates a regex pattern from the given glob expression.
-
Field Details
-
REGEX_META_CHARS
- See Also:
-
GLOB_META_CHARS
- See Also:
-
-
Constructor Details
-
Glob
public Glob()
-
-
Method Details
-
toRegexPattern
-
isRegexMeta
private static boolean isRegexMeta(char c) -
isGlobMeta
private static boolean isGlobMeta(char c) -
next
-