public class BlankLineYamlCommentFormatter extends YamlCommentFormatter
YamlCommentFormat.BLANK_LINE formatterblockFormatter, sideFormatter| Constructor and Description |
|---|
BlankLineYamlCommentFormatter() |
BlankLineYamlCommentFormatter(YamlCommentFormatterConfiguration blockFormatter) |
BlankLineYamlCommentFormatter(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 BlankLineYamlCommentFormatter()
public BlankLineYamlCommentFormatter(YamlCommentFormatterConfiguration blockFormatter)
public BlankLineYamlCommentFormatter(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.