|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.warnings.parser.ParserRegistry
public class ParserRegistry
Registry for the active parsers in this plug-in.
| Constructor Summary | |
|---|---|
ParserRegistry()
Creates a new instance of ParserRegistry. |
|
ParserRegistry(java.lang.String excludePattern)
Creates a new instance of ParserRegistry. |
|
| Method Summary | |
|---|---|
protected java.io.InputStream |
createInputStream(java.io.File file)
Creates the input stream to parse from the specified file. |
protected java.lang.Iterable<WarningsParser> |
getParsers()
Returns all registers parsers. |
java.util.Collection<FileAnnotation> |
parse(java.io.File file)
Iterates over the available parsers and parses the specified file with each parser. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParserRegistry()
ParserRegistry.
public ParserRegistry(java.lang.String excludePattern)
ParserRegistry.
excludePattern - Ant file-set pattern of files to exclude from report,
null or an empty string do not filter the output| Method Detail |
|---|
protected java.lang.Iterable<WarningsParser> getParsers()
public java.util.Collection<FileAnnotation> parse(java.io.File file)
throws java.io.IOException
file - the input stream
java.io.IOException - Signals that an I/O exception has occurred.
protected java.io.InputStream createInputStream(java.io.File file)
throws java.io.FileNotFoundException
file - the file to parse
java.io.FileNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||