|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openjava.tools.DebugOut
The DebugOut class is used to print something in debugging. No instance should be allocate and this class should be used statically.
This class implements most methods of public printing methods found in java.io.PrintWriter, as static methods.
NonLeaf
Field Summary | |
protected static java.io.PrintStream |
out
for debug |
Constructor Summary | |
DebugOut()
|
Method Summary | |
static boolean |
checkError()
Flush the stream and check its error state. |
static void |
close()
Close the stream. |
static void |
flush()
Flush the stream. |
static void |
print(boolean b)
Print a boolean. |
static void |
print(char c)
Print a character. |
static void |
print(char[] s)
Print an array of chracters. |
static void |
print(double d)
Print a double. |
static void |
print(float f)
Print a float. |
static void |
print(int i)
Print an integer. |
static void |
print(long l)
Print a long. |
static void |
print(java.lang.Object obj)
Print an object. |
static void |
print(java.lang.String s)
Print a String. |
static void |
println()
Finish the line. |
static void |
println(boolean x)
Print a boolean, and then finish the line. |
static void |
println(char x)
Print a character, and then finish the line. |
static void |
println(char[] x)
Print an array of characters, and then finish the line. |
static void |
println(double x)
Print a double, and then finish the line. |
static void |
println(float x)
Print a float, and then finish the line. |
static void |
println(int x)
Print an integer, and then finish the line. |
static void |
println(long x)
Print a long, and then finish the line. |
static void |
println(java.lang.Object x)
Print an Object, and then finish the line. |
static void |
println(java.lang.String x)
Print a String, and then finish the line. |
static void |
setDebugLevel(int level)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static java.io.PrintStream out
Constructor Detail |
public DebugOut()
Method Detail |
public static void setDebugLevel(int level)
public static void flush()
public static void close()
public static boolean checkError()
public static void print(boolean b)
public static void print(char c)
public static void print(int i)
public static void print(long l)
public static void print(float f)
public static void print(double d)
public static void print(char[] s)
public static void print(java.lang.String s)
public static void print(java.lang.Object obj)
public static void println()
public static void println(boolean x)
public static void println(char x)
public static void println(int x)
public static void println(long x)
public static void println(float x)
public static void println(double x)
public static void println(char[] x)
public static void println(java.lang.String x)
public static void println(java.lang.Object x)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |