org.opoo.press.highlighter
类 SyntaxHighlighter
java.lang.Object
org.opoo.press.highlighter.SyntaxHighlighter
- 所有已实现的接口:
- Highlighter
public class SyntaxHighlighter
- extends Object
- implements Highlighter
- 作者:
- Alex Lin
| 从类 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.