Package com.ibm.icu.text
Class CharsetRecog_2022.CharsetRecog_2022CN
java.lang.Object
com.ibm.icu.text.CharsetRecognizer
com.ibm.icu.text.CharsetRecog_2022
com.ibm.icu.text.CharsetRecog_2022.CharsetRecog_2022CN
- Enclosing class:
CharsetRecog_2022
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.icu.text.CharsetRecog_2022
CharsetRecog_2022.CharsetRecog_2022CN, CharsetRecog_2022.CharsetRecog_2022JP, CharsetRecog_2022.CharsetRecog_2022KR -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) StringgetName()Get the IANA name of this charset.(package private) CharsetMatchmatch(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_2022
matchMethods inherited from class com.ibm.icu.text.CharsetRecognizer
getLanguage
-
Field Details
-
escapeSequences
private byte[][] escapeSequences
-
-
Constructor Details
-
CharsetRecog_2022CN
CharsetRecog_2022CN()
-
-
Method Details
-
getName
String getName()Description copied from class:CharsetRecognizerGet the IANA name of this charset.- Specified by:
getNamein classCharsetRecognizer- Returns:
- the charset name.
-
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.
-