public class ConsoleTextWriter extends AbstractTextWriter
Text writer backed by the process standard output or standard error stream.
Applications normally use the shared instances exposed by Application.out and Application.err rather than constructing this class directly.
Application.err.writeLine("Unable to load configuration")
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | columnscolumns as Int |
Current visible width of this output console, in character cells. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | ConsoleTextWriterConsoleTextWriter(standardError as Boolean = false) |
Creates a writer for one of the process output streams. |
| Modifier and Type | Member | Description |
|---|---|---|
| public override | closeclose() as Void |
Leaves the process-owned stream open. |
| public override | writewrite(readonly value as String) as Void throws IOException |
Writes and immediately flushes text to the selected process stream. |