net.sourceforge.cobertura.coveragedata
Class SourceFileData
CoverageDataContainer
net.sourceforge.cobertura.coveragedata.SourceFileData
- Comparable, HasBeenInstrumented
extends CoverageDataContainer
implements Comparable, HasBeenInstrumented
SourceFileData
public SourceFileData(String name)
name
- In the format, "net/sourceforge/cobertura/coveragedata/SourceFileData.java"
compareTo
public int compareTo(Object o)
This is required because we implement Comparable.
contains
public boolean contains(String name)
equals
public boolean equals(Object obj)
Returns true if the given object is an instance of the
SourceFileData class, and it contains the same data as this
class.
getNormalizedName
public String getNormalizedName()
- The name of this source file without the file extension
in the format
"net.sourceforge.cobertura.coveragedata.SourceFileData"
getPackageName
public String getPackageName()
- The name of the package that this source file is in.
In the format "net.sourceforge.cobertura.coveragedata"