public class YamlCommentFormatterConfiguration
extends org.simpleyaml.configuration.comments.format.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) |
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 org.simpleyaml.configuration.comments.format.CommentFormatterConfiguration
public YamlCommentFormatterConfiguration prefix(String prefixFirst, String prefixMultiline)
prefix
in class org.simpleyaml.configuration.comments.format.CommentFormatterConfiguration
public YamlCommentFormatterConfiguration suffix(String suffixLast)
suffix
in class org.simpleyaml.configuration.comments.format.CommentFormatterConfiguration
public YamlCommentFormatterConfiguration suffix(String suffixLast, String suffixMultiline)
suffix
in class org.simpleyaml.configuration.comments.format.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 org.simpleyaml.configuration.comments.format.CommentFormatterConfiguration
public int hashCode()
hashCode
in class org.simpleyaml.configuration.comments.format.CommentFormatterConfiguration
public String toString()
toString
in class org.simpleyaml.configuration.comments.format.CommentFormatterConfiguration
Copyright © 2023. All rights reserved.