CodeAnalysis
Class Stats
java.lang.Object
CodeAnalysis.Stats
public class Stats
- extends java.lang.Object
|
Constructor Summary |
Stats()
Creates a new instance of Stats |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINE_LENGTH
public static int LINE_LENGTH
TOTAL_LINES
public static int TOTAL_LINES
WHITESPACE
public static int WHITESPACE
CODE
public static int CODE
COMMENTS
public static int COMMENTS
NUM_FILES
public static int NUM_FILES
NUM_TYPES
public static int NUM_TYPES
Stats
public Stats()
- Creates a new instance of Stats
clear
public void clear()
add
public void add(int type,
int val)
add
public void add(Stats stats)
get
public int get(int type)
display
public void display(javax.swing.JTextArea area)
writeToFile
public void writeToFile(java.io.FileWriter file,
java.lang.String fname)
throws java.io.IOException
- Throws:
java.io.IOException
writeTextHdrToFile
public static void writeTextHdrToFile(java.io.FileWriter file,
boolean underline)
throws java.io.IOException
- Throws:
java.io.IOException
writeTextToFile
public void writeTextToFile(java.io.FileWriter file)
throws java.io.IOException
- Throws:
java.io.IOException
writeHTMLHdrToFile
public static void writeHTMLHdrToFile(java.io.FileWriter file,
java.lang.String prefix)
throws java.io.IOException
- Throws:
java.io.IOException
writeHTMLToFile
public void writeHTMLToFile(java.io.FileWriter file,
java.lang.String prefix)
throws java.io.IOException
- Throws:
java.io.IOException
writeCommaDelimHdrToFile
public static void writeCommaDelimHdrToFile(java.io.FileWriter file)
throws java.io.IOException
- Throws:
java.io.IOException
writeCommaDelimToFile
public void writeCommaDelimToFile(java.io.FileWriter file)
throws java.io.IOException
- Throws:
java.io.IOException