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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFormatStrings(Locale locale) Get format strings for a locale.getFormatStringsOrNull(Locale locale) Get format strings for a locale.voidsetFormatStrings(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:FormatStringsRegistryGet format strings for a locale. Returns null if not registered.- Specified by:
getFormatStringsOrNullin interfaceFormatStringsRegistry
-
getFormatStrings
Description copied from interface:FormatStringsRegistryGet format strings for a locale.- Specified by:
getFormatStringsin interfaceFormatStringsRegistry
-
setFormatStrings
Description copied from interface:FormatStringsRegistryRegister format strings for a locale.- Specified by:
setFormatStringsin interfaceFormatStringsRegistry
-