| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | CS_UTF16
This constants is intentionally vague, so that some other information will be needed to determine the endianness. |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final int | EOS
Internal constant used to denote END-OF-STRING |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public static boolean | equalEncodings(String str1, String str2)
Method that implements a loose String comparison for encoding Strings. |
| public static String | findEncodingFor(Writer w)
Because of legacy encodings used by earlier JDK versions, we need to be careful when accessing encoding names via JDK classes. |
| public static String |
| CS_EBCDIC | back to summary |
|---|---|
| public static final String CS_EBCDIC | |
| CS_ISO_LATIN1 | back to summary |
|---|---|
| public static final String CS_ISO_LATIN1 | |
| CS_SHIFT_JIS | back to summary |
|---|---|
| public static final String CS_SHIFT_JIS | |
| CS_US_ASCII | back to summary |
|---|---|
| public static final String CS_US_ASCII | |
| CS_UTF16 | back to summary |
|---|---|
| public static final String CS_UTF16 This constants is intentionally vague, so that some other information will be needed to determine the endianness. | |
| CS_UTF16BE | back to summary |
|---|---|
| public static final String CS_UTF16BE | |
| CS_UTF16LE | back to summary |
|---|---|
| public static final String CS_UTF16LE | |
| CS_UTF32 | back to summary |
|---|---|
| public static final String CS_UTF32 | |
| CS_UTF32BE | back to summary |
|---|---|
| public static final String CS_UTF32BE | |
| CS_UTF32LE | back to summary |
|---|---|
| public static final String CS_UTF32LE | |
| CS_UTF8 | back to summary |
|---|---|
| public static final String CS_UTF8 | |
| EOS | back to summary |
|---|---|
| private static final int EOS Internal constant used to denote END-OF-STRING | |
| CharsetNames | back to summary |
|---|---|
| public CharsetNames() | |
| encodingStartsWith | back to summary |
|---|---|
| public static boolean encodingStartsWith(String enc, String prefix) | |
| equalEncodings | back to summary |
|---|---|
| public static boolean equalEncodings(String str1, String str2) Method that implements a loose String comparison for encoding
Strings. It will work like | |
| findEncodingFor | back to summary |
|---|---|
| public static String findEncodingFor(Writer w) Because of legacy encodings used by earlier JDK versions, we need to be careful when accessing encoding names via JDK classes. | |
| normalize | back to summary |
|---|---|
| public static String normalize(String csName) | |