Package com.ibm.icu.text
Class CharsetRecog_Unicode.CharsetRecog_UTF_32
java.lang.Object
com.ibm.icu.text.CharsetRecognizer
com.ibm.icu.text.CharsetRecog_Unicode
com.ibm.icu.text.CharsetRecog_Unicode.CharsetRecog_UTF_32
- Direct Known Subclasses:
CharsetRecog_Unicode.CharsetRecog_UTF_32_BE,CharsetRecog_Unicode.CharsetRecog_UTF_32_LE
- Enclosing class:
CharsetRecog_Unicode
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.icu.text.CharsetRecog_Unicode
CharsetRecog_Unicode.CharsetRecog_UTF_16_BE, CharsetRecog_Unicode.CharsetRecog_UTF_16_LE, CharsetRecog_Unicode.CharsetRecog_UTF_32, CharsetRecog_Unicode.CharsetRecog_UTF_32_BE, CharsetRecog_Unicode.CharsetRecog_UTF_32_LE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract intgetChar(byte[] input, int index) (package private) abstract 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_Unicode
adjustConfidence, codeUnit16FromBytesMethods inherited from class com.ibm.icu.text.CharsetRecognizer
getLanguage
-
Constructor Details
-
CharsetRecog_UTF_32
CharsetRecog_UTF_32()
-
-
Method Details
-
getChar
abstract int getChar(byte[] input, int index) -
getName
Description copied from class:CharsetRecognizerGet the IANA name of this charset.- Specified by:
getNamein classCharsetRecog_Unicode- 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 classCharsetRecog_Unicode- 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.
-