| Modifier and Type | Field and Description |
|---|---|
| protected static final int | |
| protected final int[] | |
| protected static final int | |
| protected final int[][] | |
| protected final int[] |
| Access | Constructor and Description |
|---|---|
| protected | MultiByteEncoding(String name, int minLength, int maxLength, int[] EncLen, int[][] Trans, short[] CTypeTable)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | caseMap(IntHolder flagP, byte[] bytes, IntHolder pp, int end, byte[] to, int toP, int toEnd)
Implements abstract org. case_map
|
| public static boolean | |
| public int | length(byte
Character head
Oniguruma equivalent: c)mbc_enc_len
To be deprecated very soon (use length(byte[]bytes, int p, int end) version)Implements abstract org. 1 for singlebyte encodings or performs direct length table lookup for multibyte ones.
|
| private int | |
| private int | |
| private int | |
| protected final int | |
| private int | |
| protected final int | |
| protected final int | |
| protected final boolean | |
| protected final int | |
| protected final int | |
| protected final boolean | |
| protected final int | |
| protected final int | |
| protected final int | |
| protected final int | |
| protected final int | |
| protected final int | |
| protected final int | |
| public int | strCodeAt(byte[] bytes, int p, int end, int index)
Implements abstract org. |
| public int |
| A | back to summary |
|---|---|
| protected static final int A | |
| EncLen | back to summary |
|---|---|
| protected final int[] EncLen | |
| F | back to summary |
|---|---|
| protected static final int F | |
| Trans | back to summary |
|---|---|
| protected final int[][] Trans | |
| TransZero | back to summary |
|---|---|
| protected final int[] TransZero | |
| MultiByteEncoding | back to summary |
|---|---|
| protected MultiByteEncoding(String name, int minLength, int maxLength, int[] EncLen, int[][] Trans, short[] CTypeTable) | |
| caseMap | back to summary |
|---|---|
| public int caseMap(IntHolder flagP, byte[] bytes, IntHolder pp, int end, byte[] to, int toP, int toEnd) Implements abstract org. Doc from org. Oniguruma equivalent:
| |
| isInRange | back to summary |
|---|---|
| public static boolean isInRange(int code, int from, int to) | |
| length | back to summary |
|---|---|
| public int length(byte c) Implements abstract org. Doc from org. Returns character length given character head
returns
| |
| lengthForThree | back to summary |
|---|---|
| private int lengthForThree(byte[] bytes, int p, int end, int b, int s) | |
| lengthForThreeUptoFour | back to summary |
|---|---|
| private int lengthForThreeUptoFour(byte[] bytes, int p, int end, int b, int s) | |
| lengthForTwo | back to summary |
|---|---|
| private int lengthForTwo(byte[] bytes, int p, int end, int b, int s) | |
| lengthForTwoUptoFour | back to summary |
|---|---|
| protected final int lengthForTwoUptoFour(byte[] bytes, int p, int end, int b, int s) | |
| lengthForTwoUptoThree | back to summary |
|---|---|
| private int lengthForTwoUptoThree(byte[] bytes, int p, int end, int b, int s) | |
| mb2CodeToMbc | back to summary |
|---|---|
| protected final int mb2CodeToMbc(int code, byte[] bytes, int p) | |
| mb2CodeToMbcLength | back to summary |
|---|---|
| protected final int mb2CodeToMbcLength(int code) | |
| mb2IsCodeCType | back to summary |
|---|---|
| protected final boolean mb2IsCodeCType(int code, int ctype) | |
| mb4CodeToMbc | back to summary |
|---|---|
| protected final int mb4CodeToMbc(int code, byte[] bytes, int p) | |
| mb4CodeToMbcLength | back to summary |
|---|---|
| protected final int mb4CodeToMbcLength(int code) | |
| mb4IsCodeCType | back to summary |
|---|---|
| protected final boolean mb4IsCodeCType(int code, int ctype) | |
| mbnMbcCaseFold | back to summary |
|---|---|
| protected final int mbnMbcCaseFold(int flag, byte[] bytes, IntHolder pp, int end, byte[] lower) | |
| mbnMbcToCode | back to summary |
|---|---|
| protected final int mbnMbcToCode(byte[] bytes, int p, int end) | |
| missing | back to summary |
|---|---|
| protected final int missing(int n) | |
| missing | back to summary |
|---|---|
| protected final int missing(int b, int delta) | |
| safeLengthForUptoFour | back to summary |
|---|---|
| protected final int safeLengthForUptoFour(byte[] bytes, int p, int end) | |
| safeLengthForUptoThree | back to summary |
|---|---|
| protected final int safeLengthForUptoThree(byte[] bytes, int p, int end) | |
| safeLengthForUptoTwo | back to summary |
|---|---|
| protected final int safeLengthForUptoTwo(byte[] bytes, int p, int end) | |
| strCodeAt | back to summary |
|---|---|
| public int strCodeAt(byte[] bytes, int p, int end, int index) Implements abstract org. | |
| strLength | back to summary |
|---|---|
| public int strLength(byte[] bytes, int p, int end) Implements abstract org. | |