Interface LocalizedText

    • Method Detail

      • getLocales

        Collection<Locale> getLocales()
        Returns:
        all locales for which translated texts are available.
      • getText

        String getText()
        Returns:
        first found text
      • getText

        String getText​(Locale locale)
        Parameters:
        locale - the desired locale.
        Returns:
        text with the given locale
      • setText

        void setText​(Locale locale,
                     String text)
        sets (means: "add" or "replace") a text with a given locale
        Parameters:
        locale - the locale of text
        text - the text content