hudson.plugins.warnings.parser
Interface WarningsParser

All Known Implementing Classes:
AcuCobolParser, AntEclipseParser, AntJavacParser, BuckminsterParser, ErlcParser, FlexSDKParser, Gcc4CompilerParser, Gcc4LinkerParser, GccParser, GnatParser, IarParser, IntelCParser, InvalidsParser, JavacParser, JavaDocParser, MsBuildParser, PhpParser, RegexpDocumentParser, RegexpLineParser, RegexpParser, SunCParser, TiCcsParser

public interface WarningsParser

Parses an input stream for compiler warnings and returns the found annotations.

Author:
Ulli Hafner

Method Summary
 java.lang.String getName()
          Gets the human readable name of this parser.
 java.util.Collection<hudson.plugins.analysis.util.model.FileAnnotation> parse(java.io.Reader reader)
          Parses an input stream for compiler warnings and returns the found annotations.
 

Method Detail

parse

java.util.Collection<hudson.plugins.analysis.util.model.FileAnnotation> parse(java.io.Reader reader)
                                                                              throws java.io.IOException
Parses an input stream for compiler warnings and returns the found annotations. Note that the implementor of this method is not allowed to close the specified input stream.

Parameters:
reader - the reader to get the text from
Returns:
the collection of annotations
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

getName

java.lang.String getName()
Gets the human readable name of this parser.

Returns:
the name


Copyright © 2010. All Rights Reserved.