Class CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr

Enclosing class:
CharsetRecog_mbcs.CharsetRecog_euc

static class CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr extends CharsetRecog_mbcs.CharsetRecog_euc
The charset recognize for EUC-KR. A singleton instance of this class is created and kept by the public CharsetDetector class
  • Field Details

    • commonChars

      static int[] commonChars
  • Constructor Details

    • CharsetRecog_euc_kr

      CharsetRecog_euc_kr()
  • Method Details

    • getName

      String getName()
      Description copied from class: CharsetRecog_mbcs
      Get the IANA name of this charset.
      Specified by:
      getName in class CharsetRecog_mbcs
      Returns:
      the charset name.
    • match

      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.
    • 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.