Package org.jcodings.specific
Class NonStrictEUCJPEncoding
- java.lang.Object
-
- org.jcodings.Encoding
-
- org.jcodings.AbstractEncoding
-
- org.jcodings.MultiByteEncoding
-
- org.jcodings.EucEncoding
-
- org.jcodings.specific.BaseEUCJPEncoding
-
- org.jcodings.specific.NonStrictEUCJPEncoding
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class NonStrictEUCJPEncoding extends BaseEUCJPEncoding
-
-
Field Summary
Fields Modifier and Type Field Description static NonStrictEUCJPEncoding
INSTANCE
-
Fields inherited from class org.jcodings.specific.BaseEUCJPEncoding
EUCJPEncLen
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NonStrictEUCJPEncoding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
length(byte[] bytes, int p, int end)
Returns character length given stream, character position and stream end returns1
for singlebyte encodings or performs sanity validations for multibyte ones and returns the character length, missing characters in the stream otherwise-
Methods inherited from class org.jcodings.specific.BaseEUCJPEncoding
codeToMbc, codeToMbcLength, ctypeCodeRange, isCodeCType, isLead, isReverseMatchAllowed, mbcCaseFold, mbcToCode, propertyNameToCType
-
Methods inherited from class org.jcodings.EucEncoding
leftAdjustCharHead
-
Methods inherited from class org.jcodings.MultiByteEncoding
caseMap, isInRange, length, lengthForTwoUptoFour, mb2CodeToMbc, mb2CodeToMbcLength, mb2IsCodeCType, mb4CodeToMbc, mb4CodeToMbcLength, mb4IsCodeCType, mbnMbcCaseFold, mbnMbcToCode, missing, missing, safeLengthForUptoFour, safeLengthForUptoThree, safeLengthForUptoTwo, strCodeAt, strLength
-
Methods inherited from class org.jcodings.AbstractEncoding
applyAllCaseFold, asciiApplyAllCaseFold, asciiCaseFoldCodesByString, asciiMbcCaseFold, caseFoldCodesByString, isCodeCTypeInternal, isNewLine
-
Methods inherited from class org.jcodings.Encoding
asciiToLower, 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, isUnicode, isUpper, isUTF8, isWord, isWordGraphPrint, isXDigit, load, load, maxLength, maxLengthDistance, mbcodeStartPosition, minLength, odigitVal, prevCharHead, rightAdjustCharHead, rightAdjustCharHeadWithPrev, setDummy, setName, setName, step, stepBack, strByteLengthNull, strLengthNull, strNCmp, toLowerCaseTable, toString, xdigitVal
-
-
-
-
Field Detail
-
INSTANCE
public static final NonStrictEUCJPEncoding INSTANCE
-
-
Method Detail
-
length
public int length(byte[] bytes, int p, int end)
Description copied from class:Encoding
Returns character length given stream, character position and stream end returns1
for singlebyte encodings or performs sanity validations for multibyte ones and returns the character length, missing characters in the stream otherwise
-
-