Class InputSource


  • class InputSource
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      InputSource​(java.lang.String input)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean atEnd()  
      (package private) void backup​(int amount)  
      (package private) int getPosition()  
      (package private) void gotoPosition​(int position)  
      (package private) int peekChar()  
      (package private) int readCodePoint()  
      (package private) void skip​(int amount)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • buffer

        final java.lang.String buffer
      • cursor

        private int cursor
      • lastReadCursor

        private int lastReadCursor
      • lastReadCount

        private int lastReadCount
    • Constructor Detail

      • InputSource

        InputSource​(java.lang.String input)
    • Method Detail

      • atEnd

        boolean atEnd()
      • peekChar

        int peekChar()
      • readCodePoint

        int readCodePoint()
      • backup

        void backup​(int amount)
      • getPosition

        int getPosition()
      • skip

        void skip​(int amount)
      • gotoPosition

        void gotoPosition​(int position)