org.sonar.maven
Class AbstractCollector
java.lang.Object
org.sonar.maven.AbstractCollector
- All Implemented Interfaces:
- Collector
- Direct Known Subclasses:
- CloverCollector, CoberturaCollector, CpdCollector, SurefireCollector
public abstract class AbstractCollector
- extends java.lang.Object
- implements Collector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCollector
public AbstractCollector()
parseNumber
protected double parseNumber(java.lang.String number,
java.util.Locale locale)
throws java.text.ParseException
- Throws:
java.text.ParseException
parseNumber
protected double parseNumber(java.lang.String number)
throws java.text.ParseException
- Throws:
java.text.ParseException
scaleValue
protected double scaleValue(double value)
scaleValue
protected double scaleValue(double value,
int decimals)
loadAndParseXmlReport
protected XmlReportParser loadAndParseXmlReport(java.io.File xmlFile)
throws MissingDataException
- Throws:
MissingDataException
findFileFromBuildDirectory
protected java.io.File findFileFromBuildDirectory(org.apache.maven.project.MavenProject project,
java.lang.String filename)
getPackageAndClass
protected java.lang.String[] getPackageAndClass(java.lang.String absoluteFilename,
java.util.List<java.lang.String> sourceDirs)
Copyright © 2007-2008 hortis. All Rights Reserved.