java.lang.Object
org.jcodings.Encoding
org.jcodings.AbstractEncoding
org.jcodings.SingleByteEncoding
org.jcodings.CaseFoldMapEncoding
org.jcodings.ISOEncoding
org.jcodings.specific.ISO8859_5Encoding
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ISO8859_5Encoding
(package private) static final int[][]
(package private) static final short[]
(package private) static final byte[]
Fields inherited from class org.jcodings.ISOEncoding
SHARP_s
Fields inherited from class org.jcodings.CaseFoldMapEncoding
CaseFoldMap, foldFlag
Fields inherited from class org.jcodings.SingleByteEncoding
LowerCaseTable, MAX_BYTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Oniguruma equivalent:case_map
int
mbcCaseFold
(int flag, byte[] bytes, IntHolder pp, int end, byte[] lower) iso_*_mbc_case_foldfinal byte[]
Returns lower case table if it's safe to use it directly, otherwisenull
Used for fast case insensitive matching for some singlebyte encodingsMethods inherited from class org.jcodings.ISOEncoding
getCharsetName, isCodeCType
Methods inherited from class org.jcodings.CaseFoldMapEncoding
applyAllCaseFold, applyAllCaseFoldWithMap, caseFoldCodesByString, getCaseFoldCodesByStringWithMap
Methods inherited from class org.jcodings.SingleByteEncoding
codeToMbc, codeToMbcLength, ctypeCodeRange, isReverseMatchAllowed, leftAdjustCharHead, length, length, mbcToCode, strCodeAt, strLength
Methods inherited from class org.jcodings.AbstractEncoding
asciiApplyAllCaseFold, asciiCaseFoldCodesByString, asciiMbcCaseFold, isCodeCTypeInternal, isNewLine, propertyNameToCType
Methods inherited from class org.jcodings.Encoding
asciiToLower, 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, isUnicode, isUpper, isUTF8, isWord, isWordGraphPrint, isXDigit, load, load, maxLength, maxLengthDistance, mbcodeStartPosition, minLength, odigitVal, prevCharHead, rightAdjustCharHead, rightAdjustCharHeadWithPrev, setDummy, setName, setName, step, stepBack, strByteLengthNull, strLengthNull, strNCmp, toString, xdigitVal
-
Field Details
-
ISO8859_5CtypeTable
static final short[] ISO8859_5CtypeTable -
ISO8859_5ToLowerCaseTable
static final byte[] ISO8859_5ToLowerCaseTable -
ISO8859_5CaseFoldMap
static final int[][] ISO8859_5CaseFoldMap -
INSTANCE
-
-
Constructor Details
-
ISO8859_5Encoding
protected ISO8859_5Encoding()
-
-
Method Details
-
caseMap
public int caseMap(IntHolder flagP, byte[] bytes, IntHolder pp, int end, byte[] to, int toP, int toEnd) Description copied from class:Encoding
Oniguruma equivalent:case_map
- Overrides:
caseMap
in classSingleByteEncoding
-
mbcCaseFold
Description copied from class:ISOEncoding
iso_*_mbc_case_fold- Overrides:
mbcCaseFold
in classISOEncoding
- Parameters:
flag
- case fold flagpp
- anIntHolder
that points at character headlower
- a buffer where to extract case folded character Oniguruma equivalent:mbc_case_fold
-
toLowerCaseTable
public final byte[] toLowerCaseTable()Description copied from class:Encoding
Returns lower case table if it's safe to use it directly, otherwisenull
Used for fast case insensitive matching for some singlebyte encodings- Overrides:
toLowerCaseTable
in classEncoding
- Returns:
- lower case table
-