Class CharsetRecog_sbcs.CharsetRecog_8859_6_ar

Enclosing class:
CharsetRecog_sbcs

static class CharsetRecog_sbcs.CharsetRecog_8859_6_ar extends CharsetRecog_sbcs.CharsetRecog_8859_6
  • Field Details

    • ngrams

      private static int[] ngrams
  • Constructor Details

    • CharsetRecog_8859_6_ar

      CharsetRecog_8859_6_ar()
  • Method Details

    • getLanguage

      public String getLanguage()
      Description copied from class: CharsetRecognizer
      Get the ISO language code for this charset.
      Overrides:
      getLanguage in class CharsetRecognizer
      Returns:
      the language code, or null if the language cannot be determined.
    • match

      public CharsetMatch match(CharsetDetector det)
      Description copied from class: CharsetRecognizer
      Test the match of this charset with the input text data which is obtained via the CharsetDetector object.
      Specified by:
      match in class CharsetRecognizer
      Parameters:
      det - The CharsetDetector, which contains the input text to be checked for being in this charset.
      Returns:
      A CharsetMatch object containing details of match with this charset, or null if there was no match.