Class WildcardMatcher
java.lang.Object
org.powermock.core.WildcardMatcher
Wildcard matcher.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanPerforms a wildcard matching for the text and pattern provided.static booleanmatchesAny(Iterable<String> patterns, String text) static booleanmatchesAny(String[] patterns, String text) static booleanmatchesAny(Collection<String> patterns, String text)
-
Field Details
-
WILDCARD
private static final char WILDCARD- See Also:
-
-
Constructor Details
-
WildcardMatcher
public WildcardMatcher()
-
-
Method Details
-
matches
Performs a wildcard matching for the text and pattern provided.- Parameters:
text- the text to be tested for matches.pattern- the pattern to be matched for. This can contain the wildcard character '*' (asterisk).- Returns:
- true if a match is found, false otherwise.
-
matchesAny
-
matchesAny
-
matchesAny
-