public abstract class ISOEncoding extends CaseFoldMapEncoding
CaseFoldMap, foldFlag, SSLowerCaseTableEMPTY_FOLD_CODESCHAR_INVALID, charset, hashCode, isAsciiCompatible, isDummy, isFixedWidth, isSingleByte, maxLength, minLength, name, NEW_LINE| Modifier | Constructor and Description |
|---|---|
protected |
ISOEncoding(java.lang.String name,
short[] CTypeTable,
byte[] LowerCaseTable,
int[][] CaseFoldMap) |
protected |
ISOEncoding(java.lang.String name,
short[] CTypeTable,
byte[] LowerCaseTable,
int[][] CaseFoldMap,
boolean foldFlag) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCharsetName() |
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)
iso_*_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, 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, xdigitValprotected ISOEncoding(java.lang.String name,
short[] CTypeTable,
byte[] LowerCaseTable,
int[][] CaseFoldMap)
protected ISOEncoding(java.lang.String name,
short[] CTypeTable,
byte[] LowerCaseTable,
int[][] CaseFoldMap,
boolean foldFlag)
public java.lang.String getCharsetName()
getCharsetName in class Encodingpublic int mbcCaseFold(int flag,
byte[] bytes,
IntHolder pp,
int end,
byte[] lower)
mbcCaseFold 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