@Component(value="cuba_FormatStringsRegistry")
public class FormatStringsRegistryImpl
extends java.lang.Object
implements com.haulmont.chile.core.datatypes.FormatStringsRegistry
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.util.Locale,com.haulmont.chile.core.datatypes.FormatStrings> |
formatStringsMap |
protected boolean |
useLocaleLanguageOnly |
Constructor and Description |
---|
FormatStringsRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
com.haulmont.chile.core.datatypes.FormatStrings |
getFormatStrings(java.util.Locale locale) |
com.haulmont.chile.core.datatypes.FormatStrings |
getFormatStringsNN(java.util.Locale locale) |
void |
setFormatStrings(java.util.Locale locale,
com.haulmont.chile.core.datatypes.FormatStrings formatStrings) |
protected java.util.Map<java.util.Locale,com.haulmont.chile.core.datatypes.FormatStrings> formatStringsMap
protected boolean useLocaleLanguageOnly
@Nullable public com.haulmont.chile.core.datatypes.FormatStrings getFormatStrings(java.util.Locale locale)
getFormatStrings
in interface com.haulmont.chile.core.datatypes.FormatStringsRegistry
public com.haulmont.chile.core.datatypes.FormatStrings getFormatStringsNN(java.util.Locale locale)
getFormatStringsNN
in interface com.haulmont.chile.core.datatypes.FormatStringsRegistry
public void setFormatStrings(java.util.Locale locale, com.haulmont.chile.core.datatypes.FormatStrings formatStrings)
setFormatStrings
in interface com.haulmont.chile.core.datatypes.FormatStringsRegistry