public class PrettyYamlCommentFormatter extends YamlCommentFormatter
YamlCommentFormat.PRETTY formatterblockFormatter, sideFormatter| Constructor and Description |
|---|
PrettyYamlCommentFormatter() |
PrettyYamlCommentFormatter(YamlCommentFormatterConfiguration blockFormatter) |
PrettyYamlCommentFormatter(YamlCommentFormatterConfiguration blockFormatter,
YamlSideCommentFormatterConfiguration sideFormatter) |
| Modifier and Type | Method and Description |
|---|---|
String |
dump(String comment,
CommentType type,
KeyTree.Node node)
Given a comment returns the raw-formatted string to be dumped somewhere like a file.
|
blockFormatter, equals, formatterConfiguration, hashCode, parse, parseCommentLine, sideFormatter, stripPrefix, toString, trimpublic PrettyYamlCommentFormatter()
public PrettyYamlCommentFormatter(YamlCommentFormatterConfiguration blockFormatter)
public PrettyYamlCommentFormatter(YamlCommentFormatterConfiguration blockFormatter, YamlSideCommentFormatterConfiguration sideFormatter)
public String dump(String comment, CommentType type, KeyTree.Node node)
CommentFormatterdump in interface CommentFormatterdump in class YamlCommentFormattercomment - the comment to be dumpedtype - the comment typenode - the comment nodeCopyright © 2023. All rights reserved.