| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | Returns: match quality, in the range of 0-100.the byte buffer containing text to analyse text, int the size of the text in the byte. textLen, byte[][] the byte escape sequences to test for. escapeSequences)Matching function shared among the 2022 detectors JP, CN and KR Counts up the number of legal an unrecognized escape sequences in the sample of text, and computes a score based on the total number & the proportion that fit the encoding. |
| CharsetRecog_2022 | back to summary |
|---|---|
| pack-priv CharsetRecog_2022() | |
| match | back to summary |
|---|---|
| pack-priv int match(byte[] text, int textLen, byte[][] escapeSequences) Matching function shared among the 2022 detectors JP, CN and KR Counts up the number of legal an unrecognized escape sequences in the sample of text, and computes a score based on the total number & the proportion that fit the encoding.
| |
| Modifier and Type | Field and Description |
|---|---|
| private byte[][] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | getName()
Implements abstract com. |
| pack-priv CharsetMatch | match(CharsetDetector
The CharsetDetector, which contains the input text
to be checked for being in this charset. det)Implements abstract com. |
| escapeSequences | back to summary |
|---|---|
| private byte[][] escapeSequences | |
| CharsetRecog_2022CN | back to summary |
|---|---|
| pack-priv CharsetRecog_2022CN() | |
| getName | back to summary |
|---|---|
| pack-priv String getName() Implements abstract com. Doc from com. Get the IANA name of this charset. | |
| match | back to summary |
|---|---|
| pack-priv CharsetMatch match(CharsetDetector det) Implements abstract com. Doc from com. Test the match of this charset with the input text data which is obtained via the CharsetDetector object.
| |
| Modifier and Type | Field and Description |
|---|---|
| private byte[][] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | getName()
Implements abstract com. |
| pack-priv CharsetMatch | match(CharsetDetector
The CharsetDetector, which contains the input text
to be checked for being in this charset. det)Implements abstract com. |
| escapeSequences | back to summary |
|---|---|
| private byte[][] escapeSequences | |
| CharsetRecog_2022JP | back to summary |
|---|---|
| pack-priv CharsetRecog_2022JP() | |
| getName | back to summary |
|---|---|
| pack-priv String getName() Implements abstract com. Doc from com. Get the IANA name of this charset. | |
| match | back to summary |
|---|---|
| pack-priv CharsetMatch match(CharsetDetector det) Implements abstract com. Doc from com. Test the match of this charset with the input text data which is obtained via the CharsetDetector object.
| |
| Modifier and Type | Field and Description |
|---|---|
| private byte[][] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | getName()
Implements abstract com. |
| pack-priv CharsetMatch | match(CharsetDetector
The CharsetDetector, which contains the input text
to be checked for being in this charset. det)Implements abstract com. |
| escapeSequences | back to summary |
|---|---|
| private byte[][] escapeSequences | |
| CharsetRecog_2022KR | back to summary |
|---|---|
| pack-priv CharsetRecog_2022KR() | |
| getName | back to summary |
|---|---|
| pack-priv String getName() Implements abstract com. Doc from com. Get the IANA name of this charset. | |
| match | back to summary |
|---|---|
| pack-priv CharsetMatch match(CharsetDetector det) Implements abstract com. Doc from com. Test the match of this charset with the input text data which is obtained via the CharsetDetector object.
| |