com.ikokoon.serenity.hudson.source
Class CoverageSourceCode

java.lang.Object
  extended by com.ikokoon.serenity.hudson.source.CoverageSourceCode
All Implemented Interfaces:
ISourceCode

public class CoverageSourceCode
extends java.lang.Object
implements ISourceCode

This class takes the source for a Java file and generates HTML from the source that can be displayed in a browser. This class uses the Java2Html package from java2html.de.

Since:
09.12.09
Version:
01.00
Author:
Michael Couck

Constructor Summary
CoverageSourceCode(Class<?,?> klass, java.lang.String source)
          Constructor takes the class that contains the source for the conversion.
 
Method Summary
 java.lang.String getSource()
          Accesses to the HTML that has been generated from the Java source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverageSourceCode

public CoverageSourceCode(Class<?,?> klass,
                          java.lang.String source)
Constructor takes the class that contains the source for the conversion.

Parameters:
klass - the class that contains the source
the - source of the Java class
Method Detail

getSource

public java.lang.String getSource()
Accesses to the HTML that has been generated from the Java source.

Specified by:
getSource in interface ISourceCode
Returns:
the HTML from the Java source


Copyright © 2010. All Rights Reserved.