hudson.plugins.pmd.parser
Class PmdParser
java.lang.Object
hudson.plugins.analysis.core.AbstractAnnotationParser
hudson.plugins.pmd.parser.PmdParser
- All Implemented Interfaces:
- hudson.plugins.analysis.core.AnnotationParser, Serializable
public class PmdParser
- extends hudson.plugins.analysis.core.AbstractAnnotationParser
A parser for PMD XML files.
- Author:
- Ulli Hafner
- See Also:
- Serialized Form
| 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 |
PmdParser
public PmdParser()
- Creates a new instance of
PmdParser.
PmdParser
public PmdParser(String defaultEncoding)
- Creates a new instance of
PmdParser.
- Parameters:
defaultEncoding - the default encoding to be used when reading and parsing files
parse
public Collection<hudson.plugins.analysis.util.model.FileAnnotation> parse(InputStream file,
String moduleName)
throws InvocationTargetException
-
- Specified by:
parse in class hudson.plugins.analysis.core.AbstractAnnotationParser
- Throws:
InvocationTargetException
Copyright © 2004-2011. All Rights Reserved.