Uses of Interface
org.miaixz.bus.setting.metric.ini.IniComment
Packages that use IniComment
Package
Description
Provides a comprehensive toolkit for handling configuration files, including an enhanced
.properties-style
format (.setting) with support for grouping and variable substitution, as well as INI and YAML file support.Provides classes for formatting and parsing lines within configuration files, specifically for the INI format.
Provides classes that model the structure of an INI configuration file, including sections, properties, and comments.
-
Uses of IniComment in org.miaixz.bus.setting
Methods in org.miaixz.bus.setting that return types with arguments of type IniCommentMethod parameters in org.miaixz.bus.setting with type arguments of type IniCommentModifier and TypeMethodDescriptionFactory.apply(ElementFormatter<IniComment> commentElementFormatter, ElementFormatter<IniSection> sectionElementFormatter, ElementFormatter<IniProperty> propertyElementFormatter) Applies the given element formatters to create a newFormatinstance.voidLoader.setCommentElementFormatterSupplier(Supplier<ElementFormatter<IniComment>> commentElementFormatterSupplier) Sets the supplier for the comment formatter. -
Uses of IniComment in org.miaixz.bus.setting.format
Fields in org.miaixz.bus.setting.format with type parameters of type IniCommentModifier and TypeFieldDescriptionprotected final ElementFormatter<IniComment> DefaultFormatter.commentElementFormatterFormatter for comment lines.Methods in org.miaixz.bus.setting.format that return IniCommentConstructor parameters in org.miaixz.bus.setting.format with type arguments of type IniCommentModifierConstructorDescriptionDefaultFormatter(ElementFormatter<IniComment> commentElementFormatter, ElementFormatter<IniSection> sectionElementFormatter, ElementFormatter<IniProperty> propertyElementFormatter) Constructs a new DefaultFormatter with the specified element formatters. -
Uses of IniComment in org.miaixz.bus.setting.metric.ini
Classes in org.miaixz.bus.setting.metric.ini that implement IniCommentMethods in org.miaixz.bus.setting.metric.ini that return IniCommentModifier and TypeMethodDescriptioncreate a Comment by valueAbstractElement.getComment()default IniCommentIniComment.getComment()there may be comments at the end of each element. or null. if this element is comment, return itself. so, nullable, or seeIniElement.getCommentOptional().IniElement.getComment()there may be comments at the end of each element. or null. if this element is comment, return null. so, nullable, or seeIniElement.getCommentOptional().IniPropertyService.getComment()default ini property's comment is null. there may be comments at the end of each element. or null. if this element is comment, return itself. so, nullable, or seeIniElement.getCommentOptional().Methods in org.miaixz.bus.setting.metric.ini that return types with arguments of type IniCommentModifier and TypeMethodDescriptiondefault Optional<IniComment> IniElement.getCommentOptional()there may be comments at the end of each element. if this element is comment, return itself.Methods in org.miaixz.bus.setting.metric.ini with parameters of type IniCommentModifier and TypeMethodDescriptionIniPropertyCreator.create(String key, String value, int line, IniComment comment) create a property by valueIniSectionCreator.create(String value, int line, IniComment comment) create a section by valueINI.plusProperties(Properties properties, IniComment comment) Adds all properties from aPropertiesobject to the current section, each with the same comment.INI.plusProperty(String key, String value, IniComment comment) Adds a new property to the current section with a comment.INI.plusSection(String value, IniComment comment) Adds a new section with a comment.Constructors in org.miaixz.bus.setting.metric.ini with parameters of type IniCommentModifierConstructorDescriptionIniSectionService(String value, int lineNumber, IniComment comment) IniSectionService(String value, String originalValue, int lineNumber, IniComment comment) IniSectionService(String value, String originalValue, int lineNumber, IniComment comment, Supplier<List<IniProperty>> listSupplier)