public class TagReport extends Object implements Comparable
Constructor and Description |
---|
TagReport(String displayName,
String linkName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addTagString(String tagString)
Add a tag string to this tag class.
|
int |
compareTo(Object o) |
boolean |
equals(Object r) |
FileReport |
getFileReport(File file,
String encoding)
Returns the FileReport object corresponding to this file.
|
Collection |
getFileReports()
Returns the collection of file reports for the tag.
|
String |
getHTMLSafeLinkName()
Returns a HTML safe link name for this tag report.
|
int |
getTagCount()
Gives the number of comments found for that tag.
|
String |
getTagName()
Returns the name of the tag class that was looked for.
|
String[] |
getTagStrings()
Get a list of tag strings used by this tag report.
|
int |
hashCode() |
public FileReport getFileReport(File file, String encoding)
file
- the file being analyzed.encoding
- the character encoding of the filepublic Collection getFileReports()
public String getTagName()
public String getHTMLSafeLinkName()
public int getTagCount()
public int compareTo(Object o)
compareTo
in interface Comparable
Comparable.compareTo(Object)
public void addTagString(String tagString)
tagString
- the tag string to add.public String[] getTagStrings()
public boolean equals(Object r)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2005-2014 Codehaus. All Rights Reserved.