Interface Lang

  • All Known Implementing Classes:
    LangBase

    public interface Lang
    The interface for classes implementing national languages. This interface has necessary operations to make environment comfortable for people speaking on some particular language. If you would like to add support of some new foreign language, you certainly should start with this interface.
    See Also:
    I18n
    • Method Detail

      • getStaticStr

        String getStaticStr​(String id)
        Provides some statically stored string on corresponding national language. This method should process values related to environment itself, rather than taking care about particular applications.
        Parameters:
        id - The identifier of the string
        Returns:
        Requested string or null, if id is unknown
      • hasSpecialNameOfChar

        String hasSpecialNameOfChar​(char ch)
        Provides some language-dependent name of the character in one or several words.
        Parameters:
        ch - The character to get name of
        Returns:
        The name of the given character
      • pastTimeBrief

        String pastTimeBrief​(Date date)
      • getNumberStr

        String getNumberStr​(int count,
                            String entities)