com.jcoverage.coverage.reporting.html
Class SourceTable

java.lang.Object
  extended bycom.jcoverage.coverage.reporting.html.SourceTable
All Implemented Interfaces:
Writable

public class SourceTable
extends java.lang.Object
implements Writable


Field Summary
(package private) static org.apache.log4j.Logger logger
           
(package private)  JavaFilePage page
           
(package private)  java.io.File sourceFile
           
 
Constructor Summary
SourceTable(java.io.File sourceFile, JavaFilePage page)
           
 
Method Summary
(package private) static java.lang.String indentSource(java.lang.String line)
           
(package private)  void writeCell(java.io.PrintWriter writer, java.lang.String content, java.lang.String cssClass)
           
 void writeTo(java.io.PrintWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger

sourceFile

java.io.File sourceFile

page

JavaFilePage page
Constructor Detail

SourceTable

public SourceTable(java.io.File sourceFile,
                   JavaFilePage page)
Method Detail

writeTo

public void writeTo(java.io.PrintWriter writer)
Specified by:
writeTo in interface Writable

writeCell

void writeCell(java.io.PrintWriter writer,
               java.lang.String content,
               java.lang.String cssClass)

indentSource

static java.lang.String indentSource(java.lang.String line)
Returns:
a String that has leading spaces converted into non-breaking spaces.