net.sf.statcvs.reports

Class LargestFilesTableReport

Implemented Interfaces:
TableReport

public class LargestFilesTableReport
extends Object
implements TableReport

Table report for a table containing the files with most lines of code
Version:
$Id: LargestFilesTableReport.java,v 1.8 2008/04/02 11:22:15 benoitx Exp $
Author:
Richard Cyganiak

Constructor Summary

LargestFilesTableReport(ReportConfig config, SortedSet files, int maxRows)
Creates a table containing the largest files from a file list

Method Summary

void
calculate()
Table
getTable()

Constructor Details

LargestFilesTableReport

public LargestFilesTableReport(ReportConfig config,
                               SortedSet files,
                               int maxRows)
Creates a table containing the largest files from a file list
Parameters:
files - a SortedSet of VersionedFiles
maxRows - the maximum number of files displayed in the table

Method Details

calculate

public void calculate()
Specified by:
calculate in interface TableReport

getTable

public Table getTable()
Specified by:
getTable in interface TableReport