Modifier and Type | Class and Description |
---|---|
static class |
TTY.Filter
Support for thread-local suppression of
TTY . |
Modifier and Type | Field and Description |
---|---|
private static ThreadLocal<LogStream> |
log |
static PrintStream |
out
The
PrintStream to which all non-suppressed output from TTY is written. |
Constructor and Description |
---|
TTY() |
Modifier and Type | Method and Description |
---|---|
static void |
fillTo(int i) |
static void |
flush() |
static boolean |
isSuppressed() |
static LogStream |
out()
Gets the thread-local log stream to which the static methods of this class send their output.
|
static void |
print(boolean b) |
static void |
print(char c) |
static void |
print(double d) |
static void |
print(float f) |
static void |
print(int i) |
static void |
print(long i) |
static void |
print(String s) |
static void |
print(String format,
Object... args) |
static void |
printField(Field field,
boolean tabbed) |
static void |
printFields(Class<?> javaClass) |
static void |
println() |
static void |
println(boolean b) |
static void |
println(char c) |
static void |
println(double d) |
static void |
println(float f) |
static void |
println(int i) |
static void |
println(long l) |
static void |
println(String s) |
static void |
println(String format,
Object... args) |
private static String |
printMap(Map<?,?> m) |
public static final PrintStream out
PrintStream
to which all non-suppressed output from TTY
is written.private static final ThreadLocal<LogStream> log
public TTY()
public static boolean isSuppressed()
public static void print(String s)
LogStream.print(String)
public static void print(int i)
LogStream.print(int)
public static void print(long i)
LogStream.print(long)
public static void print(char c)
LogStream.print(char)
public static void print(boolean b)
LogStream.print(boolean)
public static void print(double d)
LogStream.print(double)
public static void print(float f)
LogStream.print(float)
public static void println(String s)
LogStream.println(String)
public static void println()
LogStream.println()
public static void println(int i)
LogStream.println(int)
public static void println(long l)
LogStream.println(long)
public static void println(char c)
LogStream.println(char)
public static void println(boolean b)
LogStream.println(boolean)
public static void println(double d)
LogStream.println(double)
public static void println(float f)
LogStream.println(float)
public static void fillTo(int i)
public static void printFields(Class<?> javaClass)
public static void printField(Field field, boolean tabbed)
public static void flush()