Uses of Class
org.simpleyaml.configuration.comments.format.YamlCommentFormatter
Packages that use YamlCommentFormatter
-
Uses of YamlCommentFormatter in org.simpleyaml.configuration.comments.format
Subclasses of YamlCommentFormatter in org.simpleyaml.configuration.comments.formatModifier and TypeClassDescriptionclassYamlCommentFormat.BLANK_LINEformatterclassYamlCommentFormat.PRETTYformatterMethods in org.simpleyaml.configuration.comments.format that return YamlCommentFormatterModifier and TypeMethodDescriptionYamlCommentFormat.commentFormatter()YamlCommentFormat.YamlCommentFormatterFactory.commentFormatter()YamlCommentFormatter.stripPrefix(boolean strip) Set if stripping the prefix is desired.YamlCommentFormatter.trim(boolean trim) Set if leading and trailing spaces and blank lines at the beginning and end of the comments should be stripped away. -
Uses of YamlCommentFormatter in org.simpleyaml.configuration.file
Methods in org.simpleyaml.configuration.file that return YamlCommentFormatterModifier and TypeMethodDescriptionYamlConfigurationOptions.commentFormatter()Gets the comment formatter used to format comments.Methods in org.simpleyaml.configuration.file with parameters of type YamlCommentFormatterModifier and TypeMethodDescriptionYamlFileWrapper.comment(String comment, YamlCommentFormatter yamlCommentFormatter) Set a block comment to the section or value selected by path.YamlConfigurationOptions.commentFormatter(YamlCommentFormatter commentFormatter) Sets the comment formatter to be used to format comments.YamlFileWrapper.commentSide(String comment, YamlCommentFormatter yamlCommentFormatter) Set a side comment to the section or value selected by path.YamlFile.getComment(String path, CommentType type, YamlCommentFormatter yamlCommentFormatter) Retrieve the comment of the section or value selected by path.YamlFile.getComment(String path, YamlCommentFormatter yamlCommentFormatter) Retrieve the block comment of the section or value selected by path.voidYamlFile.setComment(String path, String comment, CommentType type, YamlCommentFormatter yamlCommentFormatter) Set a comment to the section or value selected by path.voidYamlFile.setComment(String path, String comment, YamlCommentFormatter yamlCommentFormatter) Set a block comment to the section or value selected by path.voidYamlFile.setCommentFormat(YamlCommentFormatter yamlCommentFormatter) Change the comment formatter for parsing and dumping comments.