Class FormatStringsRegistryImpl
java.lang.Object
io.jmix.core.metamodel.datatype.impl.FormatStringsRegistryImpl
- All Implemented Interfaces:
FormatStringsRegistry
@Component("core_FormatStringsRegistry")
public class FormatStringsRegistryImpl
extends Object
implements FormatStringsRegistry
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFormatStrings
(Locale locale) Get format strings for a locale.getFormatStringsOrNull
(Locale locale) Get format strings for a locale.void
setFormatStrings
(Locale locale, FormatStrings formatStrings) Register format strings for a locale.
-
Field Details
-
formatStringsMap
-
useLocaleLanguageOnly
protected boolean useLocaleLanguageOnly
-
-
Constructor Details
-
FormatStringsRegistryImpl
public FormatStringsRegistryImpl()
-
-
Method Details
-
getFormatStringsOrNull
Description copied from interface:FormatStringsRegistry
Get format strings for a locale. Returns null if not registered.- Specified by:
getFormatStringsOrNull
in interfaceFormatStringsRegistry
-
getFormatStrings
Description copied from interface:FormatStringsRegistry
Get format strings for a locale.- Specified by:
getFormatStrings
in interfaceFormatStringsRegistry
-
setFormatStrings
Description copied from interface:FormatStringsRegistry
Register format strings for a locale.- Specified by:
setFormatStrings
in interfaceFormatStringsRegistry
-