Class CustomCharArrayReader


  • public class CustomCharArrayReader
    extends java.lang.Object
    • Field Detail

      • buf

        public char[] buf
      • startFrom

        public int startFrom
      • decodeUni

        public boolean decodeUni
      • error

        public java.util.function.BiConsumer<java.lang.String,​java.lang.Integer> error
      • ch

        public char ch
      • charOffset

        public int charOffset
      • lastCharOffset

        public int lastCharOffset
      • lineStartOffset

        public int lineStartOffset
    • Constructor Detail

      • CustomCharArrayReader

        public CustomCharArrayReader​(char[] buf,
                                     java.util.function.BiConsumer<java.lang.String,​java.lang.Integer> error)
    • Method Detail

      • isUnicodeEscape

        public boolean isUnicodeEscape()
      • nextChar

        public void nextChar()
      • getc

        public char getc()
      • nextRawChar

        public void nextRawChar()
      • isAtEnd

        public boolean isAtEnd()
      • lookaheadChar

        public char lookaheadChar()