Class Common.LocalizedString

java.lang.Object
br.net.dd.netherwingcore.common.Common.LocalizedString
Enclosing class:
Common

public static class Common.LocalizedString extends Object
LocalizedString provides a structure for storing and retrieving locale-specific strings.
  • Constructor Details

    • LocalizedString

      public LocalizedString()
  • Method Details

    • get

      public String get(Common.LocaleConstant locale)
      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

      public void set(Common.LocaleConstant locale, String value)
      Sets the localized string for the given locale.
      Parameters:
      locale - the locale whose string is to be set.
      value - the string value to set.