Class LanguageHandler

    • Method Detail

      • getDetector

        public LanguageDetector getDetector()
        Returns the language detector used by this content handler. Note that the returned detector gets updated whenever new SAX events are received by this content handler.
        Returns:
        language detector
      • getLanguage

        public LanguageResult getLanguage()
        Returns the detected language based on text handled thus far.
        Returns:
        LanguageResult