hudson.plugins.logparser
Class LogParserUtils
java.lang.Object
hudson.plugins.logparser.LogParserUtils
public final class LogParserUtils
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.