Class ISO8859_11Encoding

All Implemented Interfaces:
Cloneable

public final class ISO8859_11Encoding extends ISOEncoding
  • Field Details

    • ISO8859_11CtypeTable

      static final short[] ISO8859_11CtypeTable
    • INSTANCE

      public static final ISO8859_11Encoding INSTANCE
  • Constructor Details

    • ISO8859_11Encoding

      protected ISO8859_11Encoding()
  • Method Details

    • 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, 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
    • caseFoldCodesByString

      public CaseFoldCodeItem[] caseFoldCodesByString(int flag, byte[] bytes, int p, int end)
      Description copied from class: AbstractEncoding
      onigenc_ascii_get_case_fold_codes_by_str / used also by multibyte encodings
      Overrides:
      caseFoldCodesByString in class CaseFoldMapEncoding