|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.warnings.parser.RegexpParser
hudson.plugins.warnings.parser.RegexpLineParser
public abstract class RegexpLineParser
Parses an input stream line by line for compiler warnings using the provided regular expression. Multi line regular expressions are not supported, each warnings has to be one a single line.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.warnings.parser.RegexpParser |
|---|
DEPRECATION, PROPRIETARY_API |
| Constructor Summary | |
|---|---|
RegexpLineParser(java.lang.String warningPattern,
java.lang.String name)
Creates a new instance of RegexpParser. |
|
| Method Summary | |
|---|---|
java.util.Collection<FileAnnotation> |
parse(java.io.Reader file)
Parses the specified input stream for compiler warnings using the provided regular expression. |
| Methods inherited from class hudson.plugins.warnings.parser.RegexpParser |
|---|
classifyIfEmpty, classifyWarning, createWarning, findAnnotations, getLineNumber, getName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RegexpLineParser(java.lang.String warningPattern,
java.lang.String name)
RegexpParser. Uses a single line
matcher.
warningPattern - pattern of compiler warnings.name - name of the parser| Method Detail |
|---|
public java.util.Collection<FileAnnotation> parse(java.io.Reader file)
throws java.io.IOException
file - the file to parse
java.io.IOException - Signals that an I/O exception has occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||