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 a Pattern instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • parseToPattern

      public static java.util.regex.Pattern parseToPattern​(java.lang.String strPattern) throws InvalidPatternException
      Parses the given pattern string and converts it into a Pattern 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.