Package com.ibm.icu.text
Class CharsetRecog_mbcs.CharsetRecog_euc
- java.lang.Object
-
- com.ibm.icu.text.CharsetRecognizer
-
- com.ibm.icu.text.CharsetRecog_mbcs
-
- com.ibm.icu.text.CharsetRecog_mbcs.CharsetRecog_euc
-
- Direct Known Subclasses:
CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_jp
,CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr
- Enclosing class:
- CharsetRecog_mbcs
abstract static class CharsetRecog_mbcs.CharsetRecog_euc extends CharsetRecog_mbcs
EUC charset recognizers. One abstract class that provides the common function for getting the next character according to the EUC encoding scheme, and nested derived classes for EUC_KR, EUC_JP, EUC_CN.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_jp
The charset recognize for EUC-JP.(package private) static class
CharsetRecog_mbcs.CharsetRecog_euc.CharsetRecog_euc_kr
The charset recognize for 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
-
-
Constructor Summary
Constructors Constructor Description CharsetRecog_euc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
nextChar(CharsetRecog_mbcs.iteratedChar it, CharsetDetector det)
Get the next character (however many bytes it is) from the input data Subclasses for specific charset encodings must implement this function to get characters according to the rules of their encoding scheme.-
Methods inherited from class com.ibm.icu.text.CharsetRecog_mbcs
getName, match
-
Methods inherited from class com.ibm.icu.text.CharsetRecognizer
getLanguage, match
-
-
-
-
Method Detail
-
nextChar
boolean nextChar(CharsetRecog_mbcs.iteratedChar it, CharsetDetector det)
Description copied from class:CharsetRecog_mbcs
Get the next character (however many bytes it is) from the input data Subclasses for specific charset encodings must implement this function to get characters according to the rules of their encoding scheme. This function is not a method of class iteratedChar only because that would require a lot of extra derived classes, which is awkward.- Specified by:
nextChar
in classCharsetRecog_mbcs
- Parameters:
it
- The iteratedChar "struct" into which the returned char is placed.det
- The charset detector, which is needed to get at the input byte data being iterated over.- Returns:
- True if a character was returned, false at end of input.
-
-