hudson.plugins.pmd.parser
Class PmdParser

java.lang.Object
  extended by hudson.plugins.analysis.core.AbstractAnnotationParser
      extended by hudson.plugins.pmd.parser.PmdParser
All Implemented Interfaces:
hudson.plugins.analysis.core.AnnotationParser, java.io.Serializable

public class PmdParser
extends hudson.plugins.analysis.core.AbstractAnnotationParser

A parser for PMD XML files.

Author:
Ulli Hafner
See Also:
Serialized Form

Constructor Summary
PmdParser()
          Creates a new instance of PmdParser.
PmdParser(java.lang.String defaultEncoding)
          Creates a new instance of PmdParser.
 
Method Summary
 java.util.Collection<hudson.plugins.analysis.util.model.FileAnnotation> parse(java.io.InputStream file, java.lang.String moduleName)
          
 
Methods inherited from class hudson.plugins.analysis.core.AbstractAnnotationParser
createContextHashCode, getDefaultEncoding, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdParser

public PmdParser()
Creates a new instance of PmdParser.


PmdParser

public PmdParser(java.lang.String defaultEncoding)
Creates a new instance of PmdParser.

Parameters:
defaultEncoding - the default encoding to be used when reading and parsing files
Method Detail

parse

public java.util.Collection<hudson.plugins.analysis.util.model.FileAnnotation> parse(java.io.InputStream file,
                                                                                     java.lang.String moduleName)
                                                                              throws java.lang.reflect.InvocationTargetException

Specified by:
parse in class hudson.plugins.analysis.core.AbstractAnnotationParser
Throws:
java.lang.reflect.InvocationTargetException


Copyright © 2009. All Rights Reserved.