public class CommentFormatter
extends java.lang.Object
Reusable and thread-safe.
| Constructor and Description |
|---|
CommentFormatter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(Comment comment)
Render the comment as an HTML String.
|
public java.lang.String format(Comment comment)
comment - the comment to render (may be null in which case an empty string is returned)