getLine

public abstract String getLine(int index)

Gets the line of text at the specified index.

For example, getLine(0) will return the first line of text.

Return

Text on the given line

Parameters

index

Line number to get the text from, starting at 0

Throws

Thrown when the line does not exist