Uses of Class
org.miaixz.bus.setting.Setting
Packages that use Setting
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 managing and accessing settings, including support for grouped configurations and environment
profiles.
Provides a utility class for easily accessing cached
Setting instances.-
Uses of Setting in org.miaixz.bus.setting
Methods in org.miaixz.bus.setting that return SettingModifier and TypeMethodDescriptionSetting.addSetting(Setting setting) Merges all groups and settings from anotherSettinginstance into this one.Clears all key-value pairs from a specific group.static SettingBuilder.getSetting(String name) Gets a cachedSettinginstance for a given resource name from the classpath.Setting.getSetting(String group) Gets all settings under a specific group as a newSettingobject.static SettingBuilder.getSettingFirstFound(String... names) Gets the firstSettinginstance that can be successfully loaded from a list of resource names.Setting.load()Reloads the configuration from the original resource file.static SettingSetting.of()Creates a new, emptySettinginstance for manual population.Puts all key-value pairs from a map into a specific group.Sets a value in the default (empty) group.Setting.setByGroup(String key, String group, String value) Sets a value in a specific group.Sets multiple properties using an array of lambda method reference suppliers.Setting.setLogIfNull(boolean logIfNull) Sets whether to log a debug message when a requested key is not found.Setting.setVarRegex(String regex) Sets the regular expression for identifying variables.Methods in org.miaixz.bus.setting with parameters of type SettingModifier and TypeMethodDescriptionSetting.addSetting(Setting setting) Merges all groups and settings from anotherSettinginstance into this one.Method parameters in org.miaixz.bus.setting with type arguments of type Setting -
Uses of Setting in org.miaixz.bus.setting.magic
Methods in org.miaixz.bus.setting.magic that return SettingModifier and TypeMethodDescriptionstatic SettingGlobalProfile.getSetting(String settingName) Gets aSettinginstance for the specified configuration file name under the currently active global profile.Profile.getSetting(String name) Gets aSettinginstance for a given file name under the current profile. -
Uses of Setting in org.miaixz.bus.setting.metric.setting
Methods in org.miaixz.bus.setting.metric.setting that return Setting