public interface Localizable<T extends Localizable<T>>
localize(org.springframework.context.MessageSource,
java.util.Locale)
method which returns a localized instance of the class.Modifier and Type | Method and Description |
---|---|
T |
localize(org.springframework.context.MessageSource messageSource,
Locale locale)
Localizes the current instance and returns a localized version of the implementing class with respect to the specified
Locale . |
T localize(org.springframework.context.MessageSource messageSource, Locale locale)
Locale
.messageSource
- the message source which translates the i18n codes for the localizationlocale
- the specified locale in which the i18n codes are translatedCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.