| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| pack-priv static final boolean | |
| private 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. |
| public String | getCharsetName()
Overrides org. |
| public boolean | isNewLine(byte[] bytes, int p, int end)
Overrides org. |
| public boolean | isReverseMatchAllowed(byte[] bytes, int p, int end)
Implements abstract org. |
| public int | leftAdjustCharHead(byte[]
byte stream bytes, int position p, int stop s, int end end)Implements 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: fold)
onigenc_ascii_mbc_case_fold
mbc_case_fold |
| public int | mbcToCode(byte[] bytes, int p, int end)
Implements abstract org. mbc_to_code
|
| pack-priv static byte | |
| pack-priv static byte | |
| private static boolean |
| INVALID_CODE_FE | back to summary |
|---|---|
| private static final int INVALID_CODE_FE | |
| INVALID_CODE_FF | back to summary |
|---|---|
| private static final int INVALID_CODE_FF | |
| USE_INVALID_CODE_SCHEME | back to summary |
|---|---|
| pack-priv static final boolean USE_INVALID_CODE_SCHEME | |
| VALID_CODE_LIMIT | back to summary |
|---|---|
| private static final int VALID_CODE_LIMIT | |
| BaseUTF8Encoding | back to summary |
|---|---|
| protected BaseUTF8Encoding(int[] EncLen, 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. utf8_get_ctype_code_range
| |
| 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. | |
| isNewLine | back to summary |
|---|---|
| public boolean isNewLine(byte[] bytes, int p, int end) Overrides org. Doc from org. onigenc_is_mbc_newline_0x0a / used also by multibyte encodings
| |
| isReverseMatchAllowed | back to summary |
|---|---|
| public boolean isReverseMatchAllowed(byte[] bytes, int p, int end) Implements abstract org. onigenc_always_true_is_allowed_reverse_match
| |
| leftAdjustCharHead | back to summary |
|---|---|
| public int leftAdjustCharHead(byte[] bytes, int p, int s, int end) Implements abstract org. utf8_left_adjust_char_head
| |
| mbcCaseFold | back to summary |
|---|---|
| public int mbcCaseFold(int flag, byte[] bytes, IntHolder pp, int end, byte[] fold) 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:
| |
| trail0 | back to summary |
|---|---|
| pack-priv static byte trail0(int code) | |
| trailS | back to summary |
|---|---|
| pack-priv static byte trailS(int code, int shift) | |
| utf8IsLead | back to summary |
|---|---|
| private static boolean utf8IsLead(int c) | |