Interface LineReader

    • Method Detail

      • readLine

        String readLine()
        Read a line and remove the line terminator
        Returns:
        the line read, or null if EOF has been reached.
      • getLineNumber

        int getLineNumber()
        Returns:
        1-based number of line most recently read
      • peek

        int peek()
        Non-destructive one-character look-ahead.
        Returns:
        If not eof, the next character that would be read. If eof, -1.