public class I18nToolsServiceImpl extends java.lang.Object implements I18nToolsService
Constructor and Description |
---|
I18nToolsServiceImpl(UserPropertiesService userPropertiesService,
<any> authenticatorServiceProvider,
<any> appPropService,
<any> configService) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultDateFormat() |
FormatPatterns |
getFormatPatterns() |
java.lang.String |
getRegion() |
java.lang.String |
getSystemDecimalSeparator() |
java.text.NumberFormat |
getSystemNumberFormatter() |
java.lang.String |
getUserDecimalSeparator() |
java.lang.String |
getUserDecimalSeparator(User u) |
java.text.NumberFormat |
getUserNumberFormatter() |
java.text.NumberFormat |
getUserNumberFormatter(User user) |
void |
setUserDecimalSeparator(User u,
java.lang.String separator) |
java.lang.String |
translateNumberFromSystemToUser(java.lang.String fe) |
java.lang.String |
translateNumberFromSystemToUser(java.lang.String fe,
User user) |
java.lang.String |
translateNumberFromUserToSystem(java.lang.String fe) |
void |
validateSystemNumber(java.lang.String number) |
public I18nToolsServiceImpl(UserPropertiesService userPropertiesService, <any> authenticatorServiceProvider, <any> appPropService, <any> configService)
public java.text.NumberFormat getUserNumberFormatter()
getUserNumberFormatter
in interface I18nToolsService
public java.text.NumberFormat getUserNumberFormatter(User user)
getUserNumberFormatter
in interface I18nToolsService
public java.lang.String getUserDecimalSeparator(User u)
getUserDecimalSeparator
in interface I18nToolsService
public java.lang.String getUserDecimalSeparator()
getUserDecimalSeparator
in interface I18nToolsService
public java.lang.String getSystemDecimalSeparator()
getSystemDecimalSeparator
in interface I18nToolsService
public void setUserDecimalSeparator(User u, java.lang.String separator)
setUserDecimalSeparator
in interface I18nToolsService
public java.text.NumberFormat getSystemNumberFormatter()
getSystemNumberFormatter
in interface I18nToolsService
public java.lang.String translateNumberFromUserToSystem(java.lang.String fe)
translateNumberFromUserToSystem
in interface I18nToolsService
public java.lang.String translateNumberFromSystemToUser(java.lang.String fe)
translateNumberFromSystemToUser
in interface I18nToolsService
public java.lang.String translateNumberFromSystemToUser(java.lang.String fe, User user)
translateNumberFromSystemToUser
in interface I18nToolsService
public void validateSystemNumber(java.lang.String number)
validateSystemNumber
in interface I18nToolsService
public java.lang.String getDefaultDateFormat()
getDefaultDateFormat
in interface I18nToolsService
public FormatPatterns getFormatPatterns()
getFormatPatterns
in interface I18nToolsService
public java.lang.String getRegion()
getRegion
in interface I18nToolsService