public class YamlCommentFormatterConfiguration extends CommentFormatterConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
COMMENT_INDICATOR |
static String |
DEFAULT_COMMENT_PREFIX |
Constructor and Description |
---|
YamlCommentFormatterConfiguration() |
YamlCommentFormatterConfiguration(String prefix) |
YamlCommentFormatterConfiguration(String prefix,
String prefixMultiline) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkCommentPrefix(String commentPrefix) |
protected void |
checkCommentPrefixMultiline(String commentPrefix) |
protected void |
checkCommentSuffix(String commentSuffix) |
protected void |
checkCommentSuffixMultiline(String commentSuffix) |
boolean |
equals(Object o) |
int |
hashCode() |
YamlCommentFormatterConfiguration |
prefix(String prefix) |
YamlCommentFormatterConfiguration |
prefix(String prefixFirst,
String prefixMultiline) |
boolean |
stripPrefix() |
YamlCommentFormatterConfiguration |
stripPrefix(boolean stripPrefix) |
YamlCommentFormatterConfiguration |
suffix(String suffixLast) |
YamlCommentFormatterConfiguration |
suffix(String suffixLast,
String suffixMultiline) |
String |
toString() |
boolean |
trim() |
YamlCommentFormatterConfiguration |
trim(boolean trim) |
prefixFirst, prefixFirst, prefixMultiline, prefixMultiline, suffixLast, suffixLast, suffixMultiline, suffixMultiline
public static final String COMMENT_INDICATOR
public static final String DEFAULT_COMMENT_PREFIX
public YamlCommentFormatterConfiguration()
public YamlCommentFormatterConfiguration(String prefix)
public YamlCommentFormatterConfiguration prefix(String prefix)
prefix
in class CommentFormatterConfiguration
public YamlCommentFormatterConfiguration prefix(String prefixFirst, String prefixMultiline)
prefix
in class CommentFormatterConfiguration
public YamlCommentFormatterConfiguration suffix(String suffixLast)
suffix
in class CommentFormatterConfiguration
public YamlCommentFormatterConfiguration suffix(String suffixLast, String suffixMultiline)
suffix
in class CommentFormatterConfiguration
public YamlCommentFormatterConfiguration stripPrefix(boolean stripPrefix)
public boolean stripPrefix()
public YamlCommentFormatterConfiguration trim(boolean trim)
public boolean trim()
protected void checkCommentPrefix(String commentPrefix)
protected void checkCommentPrefixMultiline(String commentPrefix)
protected void checkCommentSuffix(String commentSuffix)
protected void checkCommentSuffixMultiline(String commentSuffix)
public boolean equals(Object o)
equals
in class CommentFormatterConfiguration
public int hashCode()
hashCode
in class CommentFormatterConfiguration
public String toString()
toString
in class CommentFormatterConfiguration
Copyright © 2023. All rights reserved.