Class LocalizedTextImpl

    • Constructor Detail

      • LocalizedTextImpl

        public LocalizedTextImpl()
      • LocalizedTextImpl

        public LocalizedTextImpl​(Locale locale,
                                 String text)
    • Method Detail

      • getText

        public String getText​(Locale locale)
        Specified by:
        getText in interface LocalizedText
        Parameters:
        locale - the desired locale.
        Returns:
        text with the given locale
      • setText

        public void setText​(Locale locale,
                            String text)
        Description copied from interface: LocalizedText
        sets (means: "add" or "replace") a text with a given locale
        Specified by:
        setText in interface LocalizedText
        Parameters:
        locale - the locale of text
        text - the text content