Class StreamCharacterIterator

    • Constructor Detail

      • StreamCharacterIterator

        public StreamCharacterIterator​(InputStream is)
        Parameters:
        is - an InputStream, which is parsed
    • Method Detail

      • charAt

        public char charAt​(int pos)
        Specified by:
        charAt in interface CharacterIterator
        Returns:
        a character at the specified position.
      • isEnd

        public boolean isEnd​(int pos)
        Specified by:
        isEnd in interface CharacterIterator
        Returns:
        true iff if the specified index is after the end of the character stream