Package com.amazonaws.xray.entities
Class SearchPattern
- java.lang.Object
-
- com.amazonaws.xray.entities.SearchPattern
-
@Deprecated public class SearchPattern extends java.lang.Object
Deprecated.For internal use only.
-
-
Constructor Summary
Constructors Constructor Description SearchPattern()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
wildcardMatch(@Nullable java.lang.String pattern, @Nullable java.lang.String text)
Deprecated.Performs a case-insensitive wildcard match against two strings.static boolean
wildcardMatch(@Nullable java.lang.String pattern, @Nullable java.lang.String text, boolean caseInsensitive)
Deprecated.
-
-
-
Method Detail
-
wildcardMatch
public static boolean wildcardMatch(@Nullable java.lang.String pattern, @Nullable java.lang.String text)
Deprecated.Performs a case-insensitive wildcard match against two strings. This method works with pseduo-regex chars; specifically ? and * are supported.- An asterisk (*) represents any combination of characters
- A question mark (?) represents any single character
- Parameters:
pattern
- the regex-like pattern to be compared againsttext
- the string to compare against the pattern- Returns:
- whether the text matches the pattern
-
wildcardMatch
public static boolean wildcardMatch(@Nullable java.lang.String pattern, @Nullable java.lang.String text, boolean caseInsensitive)
Deprecated.
-
-