| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | |
| private static final int[] | |
| private static final BytesHash | |
| private static final int[][] | |
| pack-priv static final boolean[] | |
| pack-priv static final int[] |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public int | codeToMbc(int code, byte[] bytes, int p)
Implements abstract org. |
| public int | codeToMbcLength(int code)
Implements abstract org. code_to_mbclen
|
| public int[] | ctypeCodeRange(int ctype, IntHolder sbOut)
Implements abstract org. get_ctype_code_range
|
| public String | getCharsetName()
Overrides org. |
| private static int | |
| 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 int | mbcCaseFold(int
case fold flag flag, byte[] bytes, IntHolder an pp, int end, byte[] IntHolder that points at character heada buffer where to extract case folded character
Oniguruma equivalent: lower)mbc_case_foldOverrides org. |
| public int | mbcToCode(byte[] bytes, int p, int end)
Implements abstract org. mbc_to_code
|
| public int | propertyNameToCType(byte[] bytes, int p, int end)
Overrides org. |
| private static boolean |
| CR_Hiragana | back to summary |
|---|---|
| private static final int[] CR_Hiragana | |
| CR_Katakana | back to summary |
|---|---|
| private static final int[] CR_Katakana | |
| CTypeNameHash | back to summary |
|---|---|
| private static final BytesHash<Integer> CTypeNameHash | |
| PropertyList | back to summary |
|---|---|
| private static final int[][] PropertyList | |
| SJIS_CAN_BE_TRAIL_TABLE | back to summary |
|---|---|
| pack-priv static final boolean[] SJIS_CAN_BE_TRAIL_TABLE | |
| SjisEncLen | back to summary |
|---|---|
| pack-priv static final int[] SjisEncLen | |
| BaseSJISEncoding | back to summary |
|---|---|
| protected BaseSJISEncoding(String name, int[][] Trans) | |
| codeToMbc | back to summary |
|---|---|
| public int codeToMbc(int code, byte[] bytes, int p) Implements abstract org. Doc from org. Extracts code point into it's multibyte representation
| |
| codeToMbcLength | back to summary |
|---|---|
| public int codeToMbcLength(int code) Implements abstract org. Doc from org. Returns character length given a code point
Oniguruma equivalent:
| |
| ctypeCodeRange | back to summary |
|---|---|
| public int[] ctypeCodeRange(int ctype, IntHolder sbOut) Implements abstract org. Doc from org. Returns code range for a given character type
Oniguruma equivalent:
| |
| 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. | |
| getLowerCase | back to summary |
|---|---|
| private static int getLowerCase(int code) | |
| isCodeCType | back to summary |
|---|---|
| public boolean isCodeCType(int code, int ctype) Implements abstract org. Doc from org. Perform a check whether given code is of given character type (e.g. used by isWord(someByte) and similar methods)
| |
| mbcCaseFold | back to summary |
|---|---|
| public int mbcCaseFold(int flag, byte[] bytes, IntHolder pp, int end, byte[] lower) Overrides org. Doc from org. onigenc_ascii_mbc_case_fold
| |
| mbcToCode | back to summary |
|---|---|
| public int mbcToCode(byte[] bytes, int p, int end) Implements abstract org. Doc from org. Returns code point for a character
Oniguruma equivalent:
| |
| propertyNameToCType | back to summary |
|---|---|
| public int propertyNameToCType(byte[] bytes, int p, int end) Overrides org. Doc from org. onigenc_minimum_property_name_to_ctype notably overridden by unicode encodings
| |
| SJIS_ISMB_TRAIL | back to summary |
|---|---|
| private static boolean SJIS_ISMB_TRAIL(int code) | |