|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensor.ant.vcs.GenericSizeCounter
public class GenericSizeCounter
Generic size counter. Note that this class is not desinged to count binary files.
Constructor Summary | |
---|---|
GenericSizeCounter(java.lang.Object[] content)
Construct this instance to count lines. |
Method Summary | |
---|---|
int |
getNumOfNonEmptyLines()
Gets the number of lines, excluding empty lines. |
int |
getNumOfTotalLines()
Gets the total number of lines, including empty lines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericSizeCounter(java.lang.Object[] content)
content
- The file content.Method Detail |
---|
public int getNumOfTotalLines()
public int getNumOfNonEmptyLines()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |