Class SourceCodeReader


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

      • _source

        private java.lang.CharSequence _source
      • _iLength

        private int _iLength
      • _iPosition

        private int _iPosition
    • Constructor Detail

      • SourceCodeReader

        public SourceCodeReader​(java.lang.CharSequence source)
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • peek

        public int peek()
      • peek

        public int peek​(int n)
      • getPosition

        public int getPosition()
      • setPosition

        public void setPosition​(int iPosition)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getSource

        public java.lang.String getSource()
      • subsequence

        public java.lang.CharSequence subsequence​(int iStart,
                                                  int iEnd)
      • makeSourceCodeReader

        public static SourceCodeReader makeSourceCodeReader​(java.io.Reader reader)
      • getLength

        public int getLength()