|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.checkstyle.util.AbstractAnnotationParser
hudson.plugins.checkstyle.parser.CheckStyleParser
public class CheckStyleParser
A parser for Checkstyle XML files.
| Constructor Summary | |
|---|---|
CheckStyleParser()
Creates a new instance of CheckStyleParser. |
|
CheckStyleParser(java.lang.String defaultEncoding)
Creates a new instance of CheckStyleParser. |
|
| Method Summary | |
|---|---|
java.util.Collection<FileAnnotation> |
parse(java.io.InputStream file,
java.lang.String moduleName)
Returns the annotations found in the specified file. |
| Methods inherited from class hudson.plugins.checkstyle.util.AbstractAnnotationParser |
|---|
createContextHashCode, getDefaultEncoding, parse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckStyleParser()
CheckStyleParser.
public CheckStyleParser(java.lang.String defaultEncoding)
CheckStyleParser.
defaultEncoding - the default encoding to be used when reading and parsing files| Method Detail |
|---|
public java.util.Collection<FileAnnotation> parse(java.io.InputStream file,
java.lang.String moduleName)
throws java.lang.reflect.InvocationTargetException
parse in class AbstractAnnotationParserfile - the file to parsemoduleName - name of the maven module
java.lang.reflect.InvocationTargetException - if the file could not be parsed (wrap your exception in this exception)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||