Package com.ibm.icu.text
Class CharsetRecog_UTF8
java.lang.Object
com.ibm.icu.text.CharsetRecognizer
com.ibm.icu.text.CharsetRecog_UTF8
Charset recognizer for UTF-8
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) 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.CharsetRecognizer
getLanguage
-
Constructor Details
-
CharsetRecog_UTF8
CharsetRecog_UTF8()
-
-
Method Details
-
getName
String getName()Description copied from class:CharsetRecognizer
Get the IANA name of this charset.- Specified by:
getName
in classCharsetRecognizer
- Returns:
- the charset name.
-
match
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.
-