| Modifier and Type | Field and Description |
|---|---|
| private static final int[][] | |
| private String | |
| private final boolean[] | |
| private static final String[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: The name of the detected charset, orThe input data. bytes)Detects the encoding of input data that is available as a complete byte array. |
| public String | Returns: The name of the detected charset, orGets the charset that was detected. |
| public boolean | Returns: The byte to process. b)Processes a byte that was read from the input. |
| BOMs | back to summary |
|---|---|
| private static final int[][] BOMs | |
| charset | back to summary |
|---|---|
| private String charset | |
| charsetPossible | back to summary |
|---|---|
| private final boolean[] charsetPossible | |
| Charsets | back to summary |
|---|---|
| private static final String[] Charsets | |
| offset | back to summary |
|---|---|
| private int offset | |
| ByteOrderMarkReader | back to summary |
|---|---|
| pack-priv ByteOrderMarkReader() | |
| detect | back to summary |
|---|---|
| public static String detect(byte[] bytes) Detects the encoding of input data that is available as a complete byte array.
| |
| getDetectedCharset | back to summary |
|---|---|
| public String getDetectedCharset() Gets the charset that was detected.
| |
| readByte | back to summary |
|---|---|
| public boolean readByte(int b) Processes a byte that was read from the input.
| |