net.sourceforge.cobertura.reporting.html
public class JavaToHtml extends Object
| Nested Class Summary | |
|---|---|
| abstract static class | JavaToHtml.State |
| Field Summary | |
|---|---|
| static Collection | javaKeywords |
| static Collection | javaPrimitiveLiterals |
| static Collection | javaPrimitiveTypes |
| int | state |
| Method Summary | |
|---|---|
| static String | escapeEntity(char character) |
| String | process(String text)
Add HTML colorization to a block of Java code.
|
| String | processLine(String line)
Add HTML colorization to a single line of Java code.
|
| void | reset()
Reset the state of this Java parser. |
Parameters: text The block of Java code.
Returns: The same block of Java code with added span tags. Newlines are preserved.
Parameters: line One line of Java code.
Returns: The same line of Java code with added span tags.