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,
org.simpleyaml.configuration.comments.CommentType type,
org.simpleyaml.configuration.comments.KeyTree.Node node) |
blockFormatter, equals, formatterConfiguration, hashCode, parse, parseCommentLine, sideFormatter, stripPrefix, toString, trim
public PrettyYamlCommentFormatter()
public PrettyYamlCommentFormatter(YamlCommentFormatterConfiguration blockFormatter)
public PrettyYamlCommentFormatter(YamlCommentFormatterConfiguration blockFormatter, YamlSideCommentFormatterConfiguration sideFormatter)
public String dump(String comment, org.simpleyaml.configuration.comments.CommentType type, org.simpleyaml.configuration.comments.KeyTree.Node node)
dump
in interface org.simpleyaml.configuration.comments.format.CommentFormatter
dump
in class YamlCommentFormatter
Copyright © 2023. All rights reserved.