Interface LanguageGetter<T>

    • Method Detail

      • getLanguage

        Locale getLanguage​(T document)
        Extracts the language from the given document. If the document cannot be associated with a language, null should be returned.
        Parameters:
        document - the document
        Returns:
        the document's language