org.opoo.press.highlighter
类 SyntaxHighlighter

java.lang.Object
  继承者 org.opoo.press.highlighter.SyntaxHighlighter
所有已实现的接口:
Highlighter

public class SyntaxHighlighter
extends Object
implements Highlighter

作者:
Alex Lin

字段摘要
static String NAME
           
 
构造方法摘要
SyntaxHighlighter()
           
 
方法摘要
 boolean containsHighlightCodeBlock(String content)
          Determine the content contains highlight CodeBlock or not.
 String getHighlighterName()
          Return the Highlighter name, such as 'SyntaxHighlighter'.
 void highlight(StringBuilder out, List<String> lines, String meta)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

NAME

public static final String NAME
另请参见:
常量字段值
构造方法详细信息

SyntaxHighlighter

public SyntaxHighlighter()
方法详细信息

containsHighlightCodeBlock

public boolean containsHighlightCodeBlock(String content)
从接口 Highlighter 复制的描述
Determine the content contains highlight CodeBlock or not.

指定者:
接口 Highlighter 中的 containsHighlightCodeBlock
参数:
content - the content string
返回:
is string contains highlight code block, return true

getHighlighterName

public String getHighlighterName()
从接口 Highlighter 复制的描述
Return the Highlighter name, such as 'SyntaxHighlighter'.

指定者:
接口 Highlighter 中的 getHighlighterName
返回:
the Highlighter name

highlight

public void highlight(StringBuilder out,
                      List<String> lines,
                      String meta)
指定者:
接口 Highlighter 中的 highlight


Copyright © 2013-2014 Opoo.org. All Rights Reserved.