Interface InternationalString

    • Method Detail

      • toString

        String toString​(Locale locale)
        Returns this string in the given locale. If no string is available in the given locale, then some fallback locale is used. The fallback locale is implementation-dependent, and is not necessarily the same than the default locale used by the toString() method.
        Parameters:
        locale - the desired locale for the string to be returned.
        Returns:
        the string in the given locale if available, or in an implementation-dependent fallback locale otherwise.
        See Also:
        Locale.getDefault(), Locale.ROOT