Class SplitConsole
java.lang.Object
org.jdrupes.builder.core.console.SplitConsole
- All Implemented Interfaces:
AutoCloseable
Provides a split console using ANSI escape sequences.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classRepresents a status line for outputs from the current thread.final classMakesSplitConsole.StreamWrapper.write(int)available as a stream. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close.err()Writes the bytes to the scrollable part of the console.static StatusLineReturn a status line implementation that discards all update information.static SplitConsoleopen()Open the split console.out()Writes the bytes to the scrollable part of the console.Allocates a line for outputs from the current thread.
-
Method Details
-
open
-
nullStatusLine
Return a status line implementation that discards all update information.- Returns:
- the status line
-
out
Writes the bytes to the scrollable part of the console.- Returns:
- the prints the stream
-
err
Writes the bytes to the scrollable part of the console.- Returns:
- the prints the stream
-
close
-
statusLine
Allocates a line for outputs from the current thread.- Returns:
- the status line
-