org.jenkinsci.plugins.android_lint.parser
Class LintParser

java.lang.Object
  extended by hudson.plugins.analysis.core.AbstractAnnotationParser
      extended by org.jenkinsci.plugins.android_lint.parser.LintParser
All Implemented Interfaces:
hudson.plugins.analysis.core.AnnotationParser, Serializable

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

A parser for Android Lint XML files.

See Also:
Serialized Form

Field Summary
static String FILENAME_UNKNOWN
          Magic value used to denote annotations which have on associated location.
 
Constructor Summary
LintParser(String defaultEncoding)
          Creates a parser for Android Lint files.
 
Method Summary
 Collection<hudson.plugins.analysis.util.model.FileAnnotation> parse(InputStream file, String moduleName)
           
 
Methods inherited from class hudson.plugins.analysis.core.AbstractAnnotationParser
createContextHashCode, getDefaultEncoding, intern, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILENAME_UNKNOWN

public static final String FILENAME_UNKNOWN
Magic value used to denote annotations which have on associated location.

See Also:
Constant Field Values
Constructor Detail

LintParser

public LintParser(String defaultEncoding)
Creates a parser for Android Lint files.

Parameters:
defaultEncoding - The encoding to use when reading files.
Method Detail

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-2012. All Rights Reserved.