Class ISO8859_11Encoding

  • All Implemented Interfaces:
    java.lang.Cloneable

    public final class ISO8859_11Encoding
    extends ISOEncoding
    • Field Detail

      • ISO8859_11CtypeTable

        static final short[] ISO8859_11CtypeTable
    • Constructor Detail

      • ISO8859_11Encoding

        protected ISO8859_11Encoding()
    • Method Detail

      • mbcCaseFold

        public int mbcCaseFold​(int flag,
                               byte[] bytes,
                               IntHolder pp,
                               int end,
                               byte[] lower)
        Description copied from class: ISOEncoding
        iso_*_mbc_case_fold
        Overrides:
        mbcCaseFold in class ISOEncoding
        Parameters:
        flag - case fold flag
        pp - an IntHolder that points at character head
        lower - 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, otherwise null Used for fast case insensitive matching for some singlebyte encodings
        Overrides:
        toLowerCaseTable in class Encoding
        Returns:
        lower case table
      • applyAllCaseFold

        public void applyAllCaseFold​(int flag,
                                     ApplyAllCaseFoldFunction fun,
                                     java.lang.Object arg)
        Description copied from class: AbstractEncoding
        onigenc_ascii_apply_all_case_fold / used also by multibyte encodings
        Overrides:
        applyAllCaseFold in class CaseFoldMapEncoding
        Parameters:
        flag - case fold flag
        fun - case folding functor (look at: ApplyCaseFold)
        arg - case folding functor argument (look at: ApplyCaseFoldArg) Oniguruma equivalent: apply_all_case_fold