public abstract class AbstractTerminal extends java.lang.Object implements TerminalOutput
TerminalOutput.Color| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
NEW_LINE |
| Constructor and Description |
|---|
AbstractTerminal() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
init() |
TerminalOutput |
newline()
Writes line separator.
|
protected void |
write(byte[] bytes) |
TerminalOutput |
write(char ch)
Writes a character to this terminal.
|
TerminalOutput |
write(java.lang.CharSequence text)
Writes some text to this terminal.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbold, bright, clearToEndOfLine, cursorDown, cursorLeft, cursorRight, cursorStartOfLine, cursorUp, defaultForeground, dim, foreground, getOutputStream, getTerminalSize, hideCursor, normal, reset, showCursor, supportsColor, supportsCursorMotion, supportsCursorVisibility, supportsTextAttributesprotected abstract void init()
public TerminalOutput newline() throws NativeException
TerminalOutputnewline in interface TerminalOutputNativeException - On failure.public TerminalOutput write(java.lang.CharSequence text) throws NativeException
TerminalOutputwrite in interface TerminalOutputNativeException - On failure.public TerminalOutput write(char ch) throws NativeException
TerminalOutputwrite in interface TerminalOutputNativeException - On failure.protected void write(byte[] bytes)