Package com.winterhavenmc.library.messagebuilder.adapters.pipeline.formatters.number
package com.winterhavenmc.library.messagebuilder.adapters.pipeline.formatters.number
Provides locale-aware number formatting for use in the message-building pipeline.
This package defines the
NumberFormatter
interface and its implementation
LocaleNumberFormatter
which formats Number instances into human-readable Strings
according to a Locale.
The formatting behavior is defined by the injected
ConfigRepository,
enabling integration with user or server-defined localization preferences.
Typical use cases include formatting coordinates, quantities, and other numerical values embedded in macro-replaced message templates.
-
ClassesClassDescriptionA locale-aware implementation of the
NumberFormatterinterface that formats numeric values using the default number format for the locale provided by aConfigRepository.