Class PatternParser
java.lang.Object
kieker.monitoring.core.signaturePattern.PatternParser
public final class PatternParser
extends java.lang.Object
- Since:
- 1.6
- Author:
- Bjoern Weissenfels, Jan Waller
-
Method Summary
Modifier and Type Method Description static java.util.regex.Pattern
parseToPattern(java.lang.String strPattern)
Parses the given pattern string and converts it into aPattern
instance.
-
Method Details
-
parseToPattern
public static java.util.regex.Pattern parseToPattern(java.lang.String strPattern) throws InvalidPatternExceptionParses the given pattern string and converts it into aPattern
instance.- Parameters:
strPattern
- The pattern string to parse.- Returns:
- A corresponding pattern to the given string.
- Throws:
InvalidPatternException
- If the given string is not a valid pattern.
-