| Modifier and Type | Field and Description |
|---|---|
| public static final ASCIIEncoding |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | getCharsetName()
Overrides org. |
| public boolean | isCodeCType(int
a code point of a character code, int a character type to check against
Oniguruma equivalent: ctype)is_code_ctypeImplements abstract org. |
| public final byte[] | toLowerCaseTable()
Overrides org. null
Used for fast case insensitive matching for some singlebyte encodings
|
| INSTANCE | back to summary |
|---|---|
| public static final ASCIIEncoding INSTANCE | |
| ASCIIEncoding | back to summary |
|---|---|
| protected ASCIIEncoding() | |
| getCharsetName | back to summary |
|---|---|
| public String getCharsetName() Overrides org. Doc from org. The name of the equivalent Java Charset for this encoding. Defaults to the name of the encoding. Subclasses can override this to provide a different name. | |
| isCodeCType | back to summary |
|---|---|
| public boolean isCodeCType(int code, int ctype) Implements abstract org. ascii_is_code_ctype / ONIGENC_IS_ASCII_CODE_CTYPE
| |
| toLowerCaseTable | back to summary |
|---|---|
| public final byte[] toLowerCaseTable() Overrides org. Doc from org. Returns lower case table if it's safe to use it directly, otherwise
| |