|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.taglist.beans.FileReport
public class FileReport
Report for a file.
Constructor Summary | |
---|---|
FileReport(File file)
Constructor. |
Method Summary | |
---|---|
void |
addComment(String comment,
int lineIndex)
Adds a new entry to the list of tags found for this file report. |
int |
compareTo(Object o)
Cf. |
String |
getClassName()
Returns the complete name of the analysed class, for instance: org.codehaus.mojo.taglist.beans.FileReport. |
String |
getClassNameWithSlash()
Returns the path corresponding to the analysed class, for instance: org/apache/maven/plugins/taglist/beans/FileReport. |
String |
getComment(Integer lineIndex)
Returns the comment for the corresponding line index. |
Collection |
getLineIndexes()
Returns the list of the comment line indexes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileReport(File file)
file
- The file to analyse.Method Detail |
---|
public void addComment(String comment, int lineIndex)
comment
- the comment string containing the 'todo'.lineIndex
- the line number of the comment (or first line if multi-lined).public String getClassNameWithSlash()
public String getClassName()
public Collection getLineIndexes()
public String getComment(Integer lineIndex)
lineIndex
- the index of the line.
public int compareTo(Object o)
compareTo
in interface Comparable
Comparable.compareTo(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |