|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.web4jtools.metrics.lines.LinesCounter
final class LinesCounter
Model Object for calculating total lines per file extension, for all extensions.
This class uses a List<LineStat>
, one for each file extension.
This class is mutable.
Constructor Summary | |
---|---|
LinesCounter()
|
Method Summary | |
---|---|
void |
add(FileInfo aFileInfo)
Add another file to this counter. |
List<LineStat> |
getStats()
Return the stats to be displayed to the user. |
long |
getTotalFiles()
Return the total number of files for all extensions. |
long |
getTotalLines()
Return the total number of lines for all file extensions. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
LinesCounter()
Method Detail |
---|
public void add(FileInfo aFileInfo)
public List<LineStat> getStats()
public long getTotalLines()
public long getTotalFiles()
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |