net.sf.statcvs.reports
Class AbstractLocTableReport
java.lang.Object
net.sf.statcvs.reports.AbstractLocTableReport
- Direct Known Subclasses:
- AuthorsForDirectoryTableReport, AuthorsTableReport, DirectoriesForAuthorTableReport, DirectoriesTableReport, TopAuthorsTableReport
- public abstract class AbstractLocTableReport
- extends Object
Convenience superclass for table reports related to authors and directories.
Contains methods to calculate some common stuff for these tables.
- Version:
- $Id: AbstractLocTableReport.java,v 1.6 2004/02/18 19:00:57 cyganiak Exp $
- Author:
- Lukasz Pekacki
Field Summary |
static int |
SORT_BY_LINES
Sort the authors table by lines of code |
static int |
SORT_BY_NAME
Sort the authors table by name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SORT_BY_NAME
public static final int SORT_BY_NAME
- Sort the authors table by name
- See Also:
- Constant Field Values
SORT_BY_LINES
public static final int SORT_BY_LINES
- Sort the authors table by lines of code
- See Also:
- Constant Field Values
AbstractLocTableReport
public AbstractLocTableReport(CvsContent content)
- Constructor
- Parameters:
content
- render table on specified content
calculateChangesAndLinesPerAuthor
protected void calculateChangesAndLinesPerAuthor(Collection revs)
calculateChangesAndLinesPerDirectory
protected void calculateChangesAndLinesPerDirectory(Collection revisions)
createChangesAndLinesTable
protected Table createChangesAndLinesTable(GenericColumn keys,
int sortedBy,
String summary)
getContent
protected CvsContent getContent()
getChangesMap
protected IntegerMap getChangesMap()
getLinesMap
protected IntegerMap getLinesMap()