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