Class CharacterStream


  • public class CharacterStream
    extends java.lang.Object
    Convert a Reader into a sequence of characters, while keeping track of line endings.
    • Field Detail

      • reader

        protected java.io.Reader reader
      • currentCharacter

        protected int currentCharacter
      • lineNumber

        protected int lineNumber
      • characterNumber

        protected int characterNumber
    • Constructor Detail

      • CharacterStream

        public CharacterStream​(java.io.Reader reader)