Interface InputBuffer

  • All Known Implementing Classes:
    ImmutableInputBuffer

    public interface InputBuffer
    Input text to be parsed.

    This interface is not intended to be implemented by clients.

    Since:
    1.16
    • Method Detail

      • length

        int length()
      • charAt

        char charAt​(int index)
      • extractLine

        String extractLine​(int lineNumber)
        Returns content of a line for a given line number. Numbering of lines starts from 1.
      • getLineCount

        int getLineCount()
        Returns number of lines, which is always equal to number of line terminators plus 1.