public final class CP1251Encoding extends CaseFoldMapEncoding
| Modifier and Type | Field and Description |
|---|---|
(package private) static int[][] |
CP1251_CaseFoldMap |
(package private) static short[] |
CP1251_CtypeTable |
(package private) static byte[] |
CP1251_ToLowerCaseTable |
static CP1251Encoding |
INSTANCE |
CaseFoldMap, foldFlagLowerCaseTableEMPTY_FOLD_CODESCHAR_INVALID, charset, hashCode, isAsciiCompatible, isDummy, isFixedWidth, isSingleByte, maxLength, minLength, name, NEW_LINE| Modifier | Constructor and Description |
|---|---|
protected |
CP1251Encoding() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCodeCType(int code,
int ctype)
Perform a check whether given code is of given character type (e.g.
|
int |
mbcCaseFold(int flag,
byte[] bytes,
IntHolder pp,
int end,
byte[] lower)
onigenc_ascii_mbc_case_fold
|
applyAllCaseFold, applyAllCaseFoldWithMap, caseFoldCodesByString, getCaseFoldCodesByStringWithMapcodeToMbc, codeToMbcLength, ctypeCodeRange, isReverseMatchAllowed, leftAdjustCharHead, length, length, mbcToCode, strCodeAt, strLengthasciiApplyAllCaseFold, asciiCaseFoldCodesByString, asciiMbcCaseFold, isCodeCTypeInternal, isNewLine, propertyNameToCTypeasciiToLower, asciiToUpper, digitVal, equals, getCharset, getCharsetName, getIndex, getName, hashCode, isAlnum, isAlpha, isAscii, isAscii, isAsciiCompatible, isBlank, isCntrl, isDigit, isDummy, isFixedWidth, isGraph, isLower, isMbcAscii, isMbcCrnl, isMbcHead, isMbcWord, isNewLine, isPrint, isPunct, isSbWord, isSingleByte, isSpace, isUpper, isWord, isWordGraphPrint, isXDigit, load, maxLength, maxLengthDistance, mbcodeStartPosition, minLength, odigitVal, prevCharHead, replicate, rightAdjustCharHead, rightAdjustCharHeadWithPrev, setName, setName, step, stepBack, strByteLengthNull, strLengthNull, strNCmp, toLowerCaseTable, toString, xdigitValstatic final short[] CP1251_CtypeTable
static final byte[] CP1251_ToLowerCaseTable
static final int[][] CP1251_CaseFoldMap
public static final CP1251Encoding INSTANCE
public int mbcCaseFold(int flag,
byte[] bytes,
IntHolder pp,
int end,
byte[] lower)
AbstractEncodingmbcCaseFold in class AbstractEncodingflag - case fold flagpp - an IntHolder that points at character headlower - a buffer where to extract case folded character
Oniguruma equivalent: mbc_case_foldpublic boolean isCodeCType(int code,
int ctype)
EncodingisCodeCType in class CaseFoldMapEncodingcode - a code point of a characterctype - a character type to check against
Oniguruma equivalent: is_code_ctype