org.sonar.colorizer
Class CodeColorizer

java.lang.Object
  extended by org.sonar.colorizer.CodeColorizer

public class CodeColorizer
extends Object


Nested Class Summary
static class CodeColorizer.Format
           
 
Constructor Summary
CodeColorizer(CodeColorizer.Format format)
           
CodeColorizer(List<Tokenizer> tokenizers)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeColorizer

public CodeColorizer(List<Tokenizer> tokenizers)

CodeColorizer

public CodeColorizer(CodeColorizer.Format format)
Method Detail

toHtml

public String toHtml(Reader code)

toHtml

public String toHtml(Reader code,
                     HtmlOptions options)

javaToHtml

public static String javaToHtml(Reader code,
                                HtmlOptions options)

groovyToHtml

public static String groovyToHtml(Reader code,
                                  HtmlOptions options)

getCss

public static String getCss()


Copyright © 2009-2012 SonarSource. All Rights Reserved.