hudson.plugins.logparser
Class LogParserUtils

java.lang.Object
  extended by hudson.plugins.logparser.LogParserUtils

public final class LogParserUtils
extends java.lang.Object


Method Summary
static CompiledPatterns compilePatterns(java.lang.String[] parsingRulesArray, java.util.logging.Logger logger)
           
static int countLines(java.lang.String filename)
           
static int getLinesPerThread()
           
static int getNumThreads()
           
static java.lang.String getSectionCountKey(java.lang.String status, int sectionNumber)
           
static java.lang.String[] readParsingRules(java.lang.String parsingRulesPath)
           
static boolean skipParsingRule(java.lang.String parsingRule)
           
static java.lang.String standardizeStatus(java.lang.String status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readParsingRules

public static java.lang.String[] readParsingRules(java.lang.String parsingRulesPath)
                                           throws java.io.FileNotFoundException,
                                                  java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

skipParsingRule

public static boolean skipParsingRule(java.lang.String parsingRule)

standardizeStatus

public static java.lang.String standardizeStatus(java.lang.String status)

compilePatterns

public static CompiledPatterns compilePatterns(java.lang.String[] parsingRulesArray,
                                               java.util.logging.Logger logger)

getSectionCountKey

public static java.lang.String getSectionCountKey(java.lang.String status,
                                                  int sectionNumber)

getNumThreads

public static int getNumThreads()

getLinesPerThread

public static int getLinesPerThread()

countLines

public static int countLines(java.lang.String filename)
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.