|
||||||||||
| 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. |
|
| Method Summary | |
|---|---|
protected java.io.InputStream |
createInputStream(java.io.File file)
Creates the input stream to parse from the specified file. |
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.
| Method Detail |
|---|
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 | |||||||||