Class ISO8859_5Encoding
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 ISOEncoding
SHARP_sFields inherited from class CaseFoldMapEncoding
CaseFoldMap, foldFlagFields inherited from class SingleByteEncoding
LowerCaseTable, MAX_BYTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintOniguruma equivalent:case_mapintmbcCaseFold(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, otherwisenullUsed for fast case insensitive matching for some singlebyte encodingsMethods inherited from class ISOEncoding
getCharsetName, isCodeCTypeMethods inherited from class CaseFoldMapEncoding
applyAllCaseFold, applyAllCaseFoldWithMap, caseFoldCodesByString, getCaseFoldCodesByStringWithMapMethods inherited from class SingleByteEncoding
codeToMbc, codeToMbcLength, ctypeCodeRange, isReverseMatchAllowed, leftAdjustCharHead, length, length, mbcToCode, strCodeAt, strLengthMethods inherited from class AbstractEncoding
asciiApplyAllCaseFold, asciiCaseFoldCodesByString, asciiMbcCaseFold, isCodeCTypeInternal, isNewLine, propertyNameToCTypeMethods inherited from class 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:EncodingOniguruma equivalent:case_map- Overrides:
caseMapin classSingleByteEncoding
-
mbcCaseFold
Description copied from class:ISOEncodingiso_*_mbc_case_fold- Overrides:
mbcCaseFoldin classISOEncoding- Parameters:
flag- case fold flagpp- anIntHolderthat 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:EncodingReturns lower case table if it's safe to use it directly, otherwisenullUsed for fast case insensitive matching for some singlebyte encodings- Overrides:
toLowerCaseTablein classEncoding- Returns:
- lower case table
-