public class CommentFormatter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CommentFormatter.Block |
static class |
CommentFormatter.BlockType |
Constructor and Description |
---|
CommentFormatter() |
Modifier and Type | Method and Description |
---|---|
static List<CommentFormatter.Block> |
parse(String source)
Take a string of comment text that was written using the wiki-Like format and emit a list of
blocks that can be rendered to block-level HTML.
|
public static List<CommentFormatter.Block> parse(String source)
Adapted from the wikify
method found in:
com.google.gwtexpui.safehtml.client.SafeHtml
source
- The raw, unescaped comment in the Gerrit wiki-like format.