Class Common.LocalizedString
java.lang.Object
br.net.dd.netherwingcore.common.Common.LocalizedString
- Enclosing class:
Common
LocalizedString provides a structure for storing and retrieving
locale-specific strings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(Common.LocaleConstant locale) Retrieves the localized string for the given locale.voidset(Common.LocaleConstant locale, String value) Sets the localized string for the given locale.
-
Constructor Details
-
LocalizedString
public LocalizedString()
-
-
Method Details
-
get
Retrieves the localized string for the given locale.- Parameters:
locale- the locale whose string is to be retrieved.- Returns:
- the string for the specified locale, or null if not set.
-
set
Sets the localized string for the given locale.- Parameters:
locale- the locale whose string is to be set.value- the string value to set.
-