public class Console
extends Object
A console output helper able to add coloring in console.
It require the console to have an ANSI interpreter, e.g. Eclipse needs something like
this.
- Author:
- Martin Pernollet
-
Constructor Summary
Constructors
-
Method Summary
static void
static void
static void
static void
static com.diogonunes.jcolor.Attribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
print
public static void print(String text,
Color background)
-
println
public static void println(String text,
Color background)
-
print
public static void print(Color background)
-
println
public static void println(Color background)
-
toBackground
public static com.diogonunes.jcolor.Attribute toBackground(Color background)