public class ConsoleTextReader extends Object implements TextReader:
Text reader backed by the process standard input stream.
Applications normally use the shared instance exposed by Application.in.
line = Application.in.readLine()
| Modifier and Type | Member | Description |
|---|---|---|
| public | ConsoleTextReader | Creates a standard-input reader. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | closeclose() as Void: |
Leaves the process-owned standard input stream open. |
| public | readAllTextreadAllText() as String throws IOException: |
Reads all remaining text from standard input. |
| public | readLinereadLine() as String throws IOException: |
Reads one standard-input line, preserving its line terminator. |
| public | readLinesreadLines() as ArrayList<String> throws IOException: |
Reads all remaining standard-input lines. |