public static RegexParser loadParser()

in regex-parser/src/jetbrains/teamcity/util/regex/ParserLoader.java [21:29]


  public static RegexParser loadParser(@NotNull final String configResourceName, @NotNull final Class clazz) throws FileNotFoundException, ParserLoadingException {
    final InputStream parserConfigStream = clazz.getResourceAsStream(configResourceName);
    if (parserConfigStream == null) {
      String message = "Specified parser configuration resource not found (" + configResourceName + ")";
      LOG.warn(message);
      throw new FileNotFoundException(message);
    }
    return loadParser(parserConfigStream);
  }