Uses of Enum
org.simpleyaml.configuration.comments.CommentType
Packages that use CommentType
Package
Description
-
Uses of CommentType in org.simpleyaml.configuration.comments
Methods in org.simpleyaml.configuration.comments that return CommentTypeModifier and TypeMethodDescriptionstatic CommentTypeReturns the enum constant of this type with the specified name.static CommentType[]CommentType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.simpleyaml.configuration.comments with parameters of type CommentTypeModifier and TypeMethodDescriptionCommentable.getComment(String path, CommentType type) Retrieve the comment of the section or value selected by path.voidCommentable.setComment(String path, String comment, CommentType type) Set a comment to the section or value selected by path. -
Uses of CommentType in org.simpleyaml.configuration.comments.format
Methods in org.simpleyaml.configuration.comments.format with parameters of type CommentTypeModifier and TypeMethodDescriptiondefault StringCommentFormatter.dump(String comment, CommentType type) CommentFormatter.dump(String comment, CommentType type, KeyTree.Node node) Given a comment returns the raw-formatted string to be dumped somewhere like a file.static StringCommentFormatter.format(int indent, String prefixFirst, String prefixMultiline, String comment, CommentType type, String suffixMultiline, String suffixLast) static StringCommentFormatter.format(int indent, String comment, CommentType type, CommentFormatterConfiguration configuration) default StringCommentFormatter.parse(Reader raw, CommentType type) CommentFormatter.parse(Reader raw, CommentType type, KeyTree.Node node) Parse the comment from a reader that may contain a raw-formatted comment (for instance from a configuration file) to a human-friendly contentful representation of that comment.default StringCommentFormatter.parse(String raw, CommentType type) default StringCommentFormatter.parse(String raw, CommentType type, KeyTree.Node node) Parse the comment from a string that may contain a raw-formatted comment (for instance from a configuration file) to a human-friendly contentful representation of that comment.