Package com.ibm.icu.text
Class CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr
- java.lang.Object
-
- com.ibm.icu.text.CharsetRecognizer
-
- com.ibm.icu.text.CharsetRecog_mbcs
-
- com.ibm.icu.text.CharsetRecog_mbcs.CharsetRecog_euc
-
- com.ibm.icu.text.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.ibm.icu.text.CharsetRecog_mbcs.CharsetRecog_euc
CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_jp, CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr
-
Nested classes/interfaces inherited from class com.ibm.icu.text.CharsetRecog_mbcs
CharsetRecog_mbcs.CharsetRecog_big5, CharsetRecog_mbcs.CharsetRecog_euc, CharsetRecog_mbcs.CharsetRecog_gb_18030, CharsetRecog_mbcs.CharsetRecog_sjis, CharsetRecog_mbcs.iteratedChar
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int[]
commonChars
-
Constructor Summary
Constructors Constructor Description CharsetRecog_euc_kr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLanguage()
Get the ISO language code for this charset.(package private) java.lang.String
getName()
Get the IANA name of this charset.(package private) CharsetMatch
match(CharsetDetector det)
Test the match of this charset with the input text data which is obtained via the CharsetDetector object.-
Methods inherited from class com.ibm.icu.text.CharsetRecog_mbcs.CharsetRecog_euc
nextChar
-
Methods inherited from class com.ibm.icu.text.CharsetRecog_mbcs
match
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Description copied from class:CharsetRecog_mbcs
Get the IANA name of this charset.- Specified by:
getName
in classCharsetRecog_mbcs
- Returns:
- the charset name.
-
match
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 classCharsetRecognizer
- 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 java.lang.String getLanguage()
Description copied from class:CharsetRecognizer
Get the ISO language code for this charset.- Overrides:
getLanguage
in classCharsetRecognizer
- Returns:
- the language code, or
null
if the language cannot be determined.
-
-