Example usage for Java org.springframework.util PatternMatchUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | simpleMatch(@Nullable String pattern, @Nullable String str) Match a String against the given pattern, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality. |
boolean | simpleMatch(@Nullable String[] patterns, String str) Match a String against the given patterns, supporting the following simple pattern styles: "xxx*", "*xxx", "*xxx*" and "xxx*yyy" matches (with an arbitrary number of pattern parts), as well as direct equality. |