|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.java2html.javasource.JavaSourceStatistic
public class JavaSourceStatistic
Simple statistics information that can be created when parsing a java source code using the
JavaSourceParser
.
Constructor Summary | |
---|---|
JavaSourceStatistic()
|
Method Summary | |
---|---|
int |
getCharacterCount()
Returns the characterCount. |
int |
getCodeLineCount()
Returns the codeLineCount. |
int |
getCommentLineCount()
Returns the commentLineCount. |
int |
getEmptyLineCount()
Returns the emptyLineCount. |
static java.lang.String |
getExcelHeader()
|
java.lang.String |
getExcelString()
|
java.lang.String |
getFileName()
Returns the fileName. |
int |
getLineCount()
Returns the lineCount. |
int |
getMaxLineLength()
Returns the maxLineLength. |
java.lang.String |
getPackageName()
Returns the packageName. |
java.lang.String |
getScreenString(java.lang.String lineSeparator)
|
void |
setCharacterCount(int characterCount)
Sets the characterCount. |
void |
setCodeLineCount(int codeLineCount)
Sets the codeLineCount. |
void |
setCommentLineCount(int commentLineCount)
Sets the commentLineCount. |
void |
setEmptyLineCount(int emptyLineCount)
Sets the emptyLineCount. |
void |
setFileName(java.lang.String fileName)
Sets the fileName. |
void |
setLineCount(int lineCount)
Sets the lineCount. |
void |
setMaxLineLength(int maxLineLength)
Sets the maxLineLength. |
void |
setPackageName(java.lang.String packageName)
Sets the packageName. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaSourceStatistic()
Method Detail |
---|
public int getCodeLineCount()
public int getCommentLineCount()
public int getEmptyLineCount()
public int getLineCount()
public int getMaxLineLength()
public void setCodeLineCount(int codeLineCount)
codeLineCount
- The codeLineCount to setpublic void setCommentLineCount(int commentLineCount)
commentLineCount
- The commentLineCount to setpublic void setEmptyLineCount(int emptyLineCount)
emptyLineCount
- The emptyLineCount to setpublic void setLineCount(int lineCount)
lineCount
- The lineCount to setpublic void setMaxLineLength(int maxLineLength)
maxLineLength
- The maxLineLength to setpublic java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- The fileName to setpublic java.lang.String getScreenString(java.lang.String lineSeparator)
public static java.lang.String getExcelHeader()
public java.lang.String getExcelString()
public int getCharacterCount()
public void setCharacterCount(int characterCount)
characterCount
- The characterCount to setpublic java.lang.String getPackageName()
public void setPackageName(java.lang.String packageName)
packageName
- The packageName to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |