public interface ShellPrintWriter
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flush output.
|
void |
print(ShellColor color,
String output)
Print color output to the console.
|
void |
print(String output)
Print output to the console.
|
void |
println()
Print a blank line to the console.
|
void |
println(ShellColor color,
String output)
Print color output to the console, followed by the newline character.
|
void |
println(String output)
Print output to the console, followed by the newline character.
|
String |
renderColor(ShellColor color,
String output)
Render a color for the current terminal emulation by encapsulating the string is the appropriate escape codes
|
void |
write(byte b) |
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int length) |
void |
write(int b)
Write the given bytes to the console.
|
void write(int b)
void write(byte b)
void write(byte[] b)
void write(byte[] b,
int offset,
int length)
void print(String output)
void println(String output)
void println()
void print(ShellColor color, String output)
void println(ShellColor color, String output)
String renderColor(ShellColor color, String output)
void flush()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.