Package com.ibm.icu.text
Class CharsetRecog_sbcs
- java.lang.Object
-
- com.ibm.icu.text.CharsetRecognizer
-
- com.ibm.icu.text.CharsetRecog_sbcs
-
- Direct Known Subclasses:
CharsetRecog_sbcs.CharsetRecog_8859_1
,CharsetRecog_sbcs.CharsetRecog_8859_2
,CharsetRecog_sbcs.CharsetRecog_8859_5
,CharsetRecog_sbcs.CharsetRecog_8859_6
,CharsetRecog_sbcs.CharsetRecog_8859_7
,CharsetRecog_sbcs.CharsetRecog_8859_8
,CharsetRecog_sbcs.CharsetRecog_8859_9
,CharsetRecog_sbcs.CharsetRecog_IBM420_ar
,CharsetRecog_sbcs.CharsetRecog_IBM424_he
,CharsetRecog_sbcs.CharsetRecog_KOI8_R
,CharsetRecog_sbcs.CharsetRecog_windows_1251
,CharsetRecog_sbcs.CharsetRecog_windows_1256
abstract class CharsetRecog_sbcs extends CharsetRecognizer
This class recognizes single-byte encodings. Because the encoding scheme is so simple, language statistics are used to do the matching.
-
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description CharsetRecog_sbcs()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract java.lang.String
getName()
Get the IANA name of this charset.(package private) int
match(CharsetDetector det, int[] ngrams, byte[] byteMap)
(package private) int
match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
(package private) int
matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
-
Methods inherited from class com.ibm.icu.text.CharsetRecognizer
getLanguage, match
-
-
-
-
Method Detail
-
getName
abstract java.lang.String getName()
Description copied from class:CharsetRecognizer
Get the IANA name of this charset.- Specified by:
getName
in classCharsetRecognizer
- Returns:
- the charset name.
-
match
int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
-
match
int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
-
matchIBM420
int matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
-
-