public class ConsoleOutput extends Object
Constructor and Description |
---|
ConsoleOutput() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
clearConsole()
Leert die Konsole.
|
(package private) static void |
runCommand(String command)
Schreibt eine Zeile auf die Kommandozeile (meistens einen Befehl).
|
(package private) static void |
runCommand(String[] command)
Schreibt eine Zeile auf die Kommandozeile (meistens einen Befehl).
|
(package private) static void |
write(String txt)
Schreibt Text auf die Kommandozeile.
|
static void clearConsole() throws ConnectionException
ConnectionException
static void runCommand(String command) throws ConnectionException
command
- Ein String, der die zu schreibende Zeile oder den Befehl mit/ohne Argumente enthältConnectionException
static void runCommand(String[] command) throws ConnectionException
command[]
- Ein Array, dass den Befehl und die Eingabeargumente enthältConnectionException
static void write(String txt) throws ConnectionException
txt
- Der zu schreibende TextConnectionException