public class CodeColorizer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CodeColorizer.Format |
Constructor and Description |
---|
CodeColorizer(CodeColorizer.Format format) |
CodeColorizer(List<Tokenizer> tokenizers) |
Modifier and Type | Method and Description |
---|---|
static String |
getCss() |
static String |
groovyToHtml(Reader code,
HtmlOptions options) |
static String |
javaToHtml(Reader code,
HtmlOptions options) |
String |
toHtml(Reader code) |
String |
toHtml(Reader code,
HtmlOptions options) |
public CodeColorizer(List<Tokenizer> tokenizers)
public CodeColorizer(CodeColorizer.Format format)
public String toHtml(Reader code, HtmlOptions options)
public static String javaToHtml(Reader code, HtmlOptions options)
public static String groovyToHtml(Reader code, HtmlOptions options)
Copyright © 2009-2012 SonarSource. All Rights Reserved.