public class CommentFormatter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommentFormatter.CommentLocation |
Constructor and Description |
---|
CommentFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(Comment comment,
int indentLevel,
CommentFormatter.CommentLocation commentLocation)
Format a given comment with the indent level specified.
|
java.lang.String |
format(java.lang.String comment,
int indentLevel,
CommentFormatter.CommentLocation commentLocation)
Format a given comment string with the indent level specified.
|
java.lang.String |
formatStringAsJavadoc(java.lang.String input)
Formats a plain string (including newlines) and formats it as Javadoc.
|
public java.lang.String format(Comment comment, int indentLevel, CommentFormatter.CommentLocation commentLocation)
comment
- indentLevel
- public java.lang.String format(java.lang.String comment, int indentLevel, CommentFormatter.CommentLocation commentLocation)
comment
- indentLevel
- public java.lang.String formatStringAsJavadoc(java.lang.String input)
input
- Plain string (including newlines) to be formatted as JavadocCopyright © 2015. All Rights Reserved.