net.sf.statcvs.reports
Class AuthorsTableReport
java.lang.Object
net.sf.statcvs.reports.AbstractLocTableReport
net.sf.statcvs.reports.AuthorsTableReport
- All Implemented Interfaces:
- TableReport
- public class AuthorsTableReport
- extends AbstractLocTableReport
- implements TableReport
Table report which creates a table containing the names of
all authors, their LOC contributions and number of changes. The
table can be sorted by name or LOC.
- Version:
- $Id: AuthorsTableReport.java,v 1.2 2003/12/17 23:56:31 cyganiak Exp $
- Author:
- Richard Cyganiak
Constructor Summary |
AuthorsTableReport(CvsContent content,
int sortedBy)
Creates a table report containing all authors, their
number of changes and LOC contributions. |
Method Summary |
void |
calculate()
Calculates the report from the source data. |
Table |
getTable()
Returns the table data model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorsTableReport
public AuthorsTableReport(CvsContent content,
int sortedBy)
- Creates a table report containing all authors, their
number of changes and LOC contributions.
- Parameters:
content
- the version control source datasortedBy
- a SORT_XXXX constant
calculate
public void calculate()
- Description copied from interface:
TableReport
- Calculates the report from the source data.
- Specified by:
calculate
in interface TableReport
- See Also:
TableReport.calculate()
getTable
public Table getTable()
- Description copied from interface:
TableReport
- Returns the table data model.
- Specified by:
getTable
in interface TableReport
- Returns:
- the table data model
- See Also:
TableReport.getTable()