Uses of Class
io.github.zazalng.ThaiBahtConfig.Builder
Packages that use ThaiBahtConfig.Builder
Package
Description
Utilities to convert numeric amounts into Thai-language baht text with multi-language support.
-
Uses of ThaiBahtConfig.Builder in io.github.zazalng
Methods in io.github.zazalng that return ThaiBahtConfig.BuilderModifier and TypeMethodDescriptionstatic ThaiBahtConfig.BuilderThaiBahtConfig.builder()Creates a newThaiBahtConfig.Builderwith default initialization for building custom configurations.static ThaiBahtConfig.BuilderDeprecated.static ThaiBahtConfig.BuilderThaiBahtConfig.builder(LanguageHandler handler) Creates a newThaiBahtConfig.Builderwith a specific initial language handler.ThaiBahtConfig.Builder.formal(boolean v) Sets whether formal wording rules should be applied.Deprecated.UselanguageHandler(LanguageHandler)for new codeThaiBahtConfig.Builder.languageHandler(LanguageHandler handler) Sets the language handler for text conversion.Sets a custom format for both positive and negative amounts using the same template.ThaiBahtConfig.Builder.setFormatTemplate(FormatTemplate template) Sets a custom format template for positive amounts using a FormatTemplate instance.ThaiBahtConfig.Builder.setFormatTemplate(String formatString) Sets a custom format template for positive amounts.ThaiBahtConfig.Builder.setNegativeFormatTemplate(FormatTemplate template) Sets a custom format template for negative amounts using a FormatTemplate instance.ThaiBahtConfig.Builder.setNegativeFormatTemplate(String formatString) Sets a custom format template for negative amounts.Sets the prefix wording for negative amounts.ThaiBahtConfig.toBuilder()Converts this configuration into aThaiBahtConfig.Builderfor modification.ThaiBahtConfig.Builder.useUnit(boolean v) Sets whether unit words should be included in the output.Method parameters in io.github.zazalng with type arguments of type ThaiBahtConfig.BuilderModifier and TypeMethodDescriptionThaiBaht.config(Consumer<ThaiBahtConfig.Builder> updater) Modifies the current configuration using a consumer function for flexible updates.
ThaiBahtConfig.builder(LanguageHandler)for new code