Class CharsetRecog_sbcs.CharsetRecog_8859_5_ru
java.lang.Object
com.ibm.icu.text.CharsetRecognizer
com.ibm.icu.text.CharsetRecog_sbcs
com.ibm.icu.text.CharsetRecog_sbcs.CharsetRecog_8859_5
com.ibm.icu.text.CharsetRecog_sbcs.CharsetRecog_8859_5_ru
- Enclosing class:
CharsetRecog_sbcs
-
Nested Class Summary
Nested classes/interfaces inherited from class CharsetRecog_sbcs
CharsetRecog_sbcs.CharsetRecog_8859_1, CharsetRecog_sbcs.CharsetRecog_8859_2, CharsetRecog_sbcs.CharsetRecog_8859_5, CharsetRecog_sbcs.CharsetRecog_8859_5_ru, CharsetRecog_sbcs.CharsetRecog_8859_6, CharsetRecog_sbcs.CharsetRecog_8859_6_ar, CharsetRecog_sbcs.CharsetRecog_8859_7, CharsetRecog_sbcs.CharsetRecog_8859_7_el, CharsetRecog_sbcs.CharsetRecog_8859_8, CharsetRecog_sbcs.CharsetRecog_8859_8_he, CharsetRecog_sbcs.CharsetRecog_8859_8_I_he, CharsetRecog_sbcs.CharsetRecog_8859_9, CharsetRecog_sbcs.CharsetRecog_8859_9_tr, CharsetRecog_sbcs.CharsetRecog_IBM420_ar, CharsetRecog_sbcs.CharsetRecog_IBM420_ar_ltr, CharsetRecog_sbcs.CharsetRecog_IBM420_ar_rtl, CharsetRecog_sbcs.CharsetRecog_IBM424_he, CharsetRecog_sbcs.CharsetRecog_IBM424_he_ltr, CharsetRecog_sbcs.CharsetRecog_IBM424_he_rtl, CharsetRecog_sbcs.CharsetRecog_KOI8_R, CharsetRecog_sbcs.CharsetRecog_windows_1251, CharsetRecog_sbcs.CharsetRecog_windows_1256, CharsetRecog_sbcs.NGramParser, CharsetRecog_sbcs.NGramParser_IBM420, CharsetRecog_sbcs.NGramsPlusLang -
Field Summary
FieldsFields inherited from class CharsetRecog_sbcs.CharsetRecog_8859_5
byteMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the ISO language code for this charset.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 CharsetRecog_sbcs.CharsetRecog_8859_5
getNameMethods inherited from class CharsetRecog_sbcs
match, match, matchIBM420
-
Field Details
-
ngrams
private static int[] ngrams
-
-
Constructor Details
-
CharsetRecog_8859_5_ru
CharsetRecog_8859_5_ru()
-
-
Method Details
-
getLanguage
Description copied from class:CharsetRecognizerGet the ISO language code for this charset.- Overrides:
getLanguagein classCharsetRecognizer- Returns:
- the language code, or
nullif the language cannot be determined.
-
match
Description copied from class:CharsetRecognizerTest the match of this charset with the input text data which is obtained via the CharsetDetector object.- Specified by:
matchin 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.
-