Package io.jmix.core.metamodel.datatype
Interface FormatStringsRegistry
- All Known Implementing Classes:
FormatStringsRegistryImpl
public interface FormatStringsRegistry
Registry for
FormatStrings
-
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.
-
Method Details
-
getFormatStringsOrNull
Get format strings for a locale. Returns null if not registered. -
getFormatStrings
Get format strings for a locale.- Throws:
IllegalArgumentException
- if not registered
-
setFormatStrings
Register format strings for a locale.
-