de.java2html.javasource
Class JavaSourceStatistic

java.lang.Object
  extended by de.java2html.javasource.JavaSourceStatistic

public class JavaSourceStatistic
extends java.lang.Object

Simple statistics information that can be created when parsing a java source code using the JavaSourceParser.

Author:
Markus Gebhard

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

JavaSourceStatistic

public JavaSourceStatistic()
Method Detail

getCodeLineCount

public int getCodeLineCount()
Returns the codeLineCount.

Returns:
int

getCommentLineCount

public int getCommentLineCount()
Returns the commentLineCount.

Returns:
int

getEmptyLineCount

public int getEmptyLineCount()
Returns the emptyLineCount.

Returns:
int

getLineCount

public int getLineCount()
Returns the lineCount.

Returns:
int

getMaxLineLength

public int getMaxLineLength()
Returns the maxLineLength.

Returns:
int

setCodeLineCount

public void setCodeLineCount(int codeLineCount)
Sets the codeLineCount.

Parameters:
codeLineCount - The codeLineCount to set

setCommentLineCount

public void setCommentLineCount(int commentLineCount)
Sets the commentLineCount.

Parameters:
commentLineCount - The commentLineCount to set

setEmptyLineCount

public void setEmptyLineCount(int emptyLineCount)
Sets the emptyLineCount.

Parameters:
emptyLineCount - The emptyLineCount to set

setLineCount

public void setLineCount(int lineCount)
Sets the lineCount.

Parameters:
lineCount - The lineCount to set

setMaxLineLength

public void setMaxLineLength(int maxLineLength)
Sets the maxLineLength.

Parameters:
maxLineLength - The maxLineLength to set

getFileName

public java.lang.String getFileName()
Returns the fileName.

Returns:
String

setFileName

public void setFileName(java.lang.String fileName)
Sets the fileName.

Parameters:
fileName - The fileName to set

getScreenString

public java.lang.String getScreenString(java.lang.String lineSeparator)

getExcelHeader

public static java.lang.String getExcelHeader()

getExcelString

public java.lang.String getExcelString()

getCharacterCount

public int getCharacterCount()
Returns the characterCount.

Returns:
int

setCharacterCount

public void setCharacterCount(int characterCount)
Sets the characterCount.

Parameters:
characterCount - The characterCount to set

getPackageName

public java.lang.String getPackageName()
Returns the packageName.

Returns:
String

setPackageName

public void setPackageName(java.lang.String packageName)
Sets the packageName.

Parameters:
packageName - The packageName to set


Copyright 2003 - 2006