Uses of Interface
org.miaixz.bus.setting.format.ElementFormatter
Packages that use ElementFormatter
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.
-
Uses of ElementFormatter in org.miaixz.bus.setting
Methods in org.miaixz.bus.setting that return types with arguments of type ElementFormatterModifier and TypeMethodDescriptionLoader.getCommentElementFormatterSupplier()Loader.getPropertyElementFormatterSupplier()Loader.getSectionElementFormatterSupplier()Methods in org.miaixz.bus.setting with parameters of type ElementFormatterModifier and TypeMethodDescriptionFactory.apply(ElementFormatter<IniComment> commentElementFormatter, ElementFormatter<IniSection> sectionElementFormatter, ElementFormatter<IniProperty> propertyElementFormatter) Applies the given element formatters to create a newFormatinstance.Method parameters in org.miaixz.bus.setting with type arguments of type ElementFormatterModifier and TypeMethodDescriptionvoidLoader.setCommentElementFormatterSupplier(Supplier<ElementFormatter<IniComment>> commentElementFormatterSupplier) Sets the supplier for the comment formatter.voidLoader.setPropertyElementFormatterSupplier(Supplier<ElementFormatter<IniProperty>> propertyElementFormatterSupplier) Sets the supplier for the property formatter.voidLoader.setSectionElementFormatterSupplier(Supplier<ElementFormatter<IniSection>> sectionElementFormatterSupplier) Sets the supplier for the section formatter. -
Uses of ElementFormatter in org.miaixz.bus.setting.format
Classes in org.miaixz.bus.setting.format that implement ElementFormatterModifier and TypeClassDescriptionclassAbstractFormatter<E extends IniElement>An abstract base class for formatters that convert string values intoIniElementobjects.classA formatter that parses a string value into anIniCommentobject.classA formatter that parses a string value into anIniPropertyobject (a key-value pair).classA formatter that parses a string value into anIniSectionobject.Fields in org.miaixz.bus.setting.format declared as ElementFormatterModifier and TypeFieldDescriptionprotected final ElementFormatter<IniComment> DefaultFormatter.commentElementFormatterFormatter for comment lines.protected final ElementFormatter<IniProperty> DefaultFormatter.propertyElementFormatterFormatter for property lines (key-value pairs).protected final ElementFormatter<IniSection> DefaultFormatter.sectionElementFormatterFormatter for section headers.Constructors in org.miaixz.bus.setting.format with parameters of type ElementFormatterModifierConstructorDescriptionDefaultFormatter(ElementFormatter<IniComment> commentElementFormatter, ElementFormatter<IniSection> sectionElementFormatter, ElementFormatter<IniProperty> propertyElementFormatter) Constructs a new DefaultFormatter with the specified element formatters.