Package org.jcodings

Class EucEncoding

All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
BaseEUCJPEncoding, EUCKREncoding, EUCTWEncoding

public abstract class EucEncoding extends MultiByteEncoding
  • Constructor Details

    • EucEncoding

      protected EucEncoding(String name, int minLength, int maxLength, int[] EncLen, int[][] Trans, short[] CTypeTable)
  • Method Details

    • isLead

      protected abstract boolean isLead(int c)
    • leftAdjustCharHead

      public int leftAdjustCharHead(byte[] bytes, int p, int s, int end)
      Description copied from class: Encoding
      Seeks the previous character head in a stream Oniguruma equivalent: left_adjust_char_head
      Specified by:
      leftAdjustCharHead in class Encoding
      Parameters:
      bytes - byte stream
      p - position
      s - stop
      end - end