|
||||||||||
| 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.RegexpDocumentParser
public abstract class RegexpDocumentParser
Parses an input stream as a whole document for compiler warnings using the provided regular expression.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.warnings.parser.RegexpParser |
|---|
DEPRECATION, FALSE_POSITIVE, PROPRIETARY_API |
| Constructor Summary | |
|---|---|
RegexpDocumentParser(java.lang.String warningPattern,
boolean useMultiLine,
java.lang.String name)
Creates a new instance of RegexpParser. |
|
| Method Summary | |
|---|---|
java.util.Collection<hudson.plugins.analysis.util.model.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, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RegexpDocumentParser(java.lang.String warningPattern,
boolean useMultiLine,
java.lang.String name)
RegexpParser.
warningPattern - pattern of compiler warnings.useMultiLine - Enables multi line mode. In multi line mode the expressions
^ and $ match just after or just before,
respectively, a line terminator or the end of the input
sequence. By default these expressions only match at the
beginning and the end of the entire input sequence.name - name of the parser| Method Detail |
|---|
public java.util.Collection<hudson.plugins.analysis.util.model.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 | |||||||||