|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.util.misc.DebugOutImpl
public class DebugOutImpl
Constructor Summary | |
---|---|
DebugOutImpl(String id,
boolean debug)
|
|
DebugOutImpl(String id,
boolean debug,
DebugSink sink)
|
Method Summary | |
---|---|
void |
debug(Object... args)
If getDebug() returns true, output the arguments |
void |
debugMethod(String methodName,
Object... args)
|
void |
debugMethod(String msg,
String methodName,
Object... args)
|
boolean |
getDebug()
Return true if debugging is on. |
String |
getID()
Return the arbitrary identifier for this instance. |
static String |
methodString(String name,
Object... args)
|
void |
print(Object o)
Output a message without a newline. |
void |
println(Object o)
Output a message with a newline. |
void |
setDebug(boolean debug)
|
String |
toString(Object... args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugOutImpl(String id, boolean debug, DebugSink sink)
public DebugOutImpl(String id, boolean debug)
Method Detail |
---|
public String getID()
DebugOut
getID
in interface DebugOut
public boolean getDebug()
DebugOut
getDebug
in interface DebugOut
public void print(Object o)
DebugSink
print
in interface DebugSink
o
- the Object to outputpublic void println(Object o)
DebugSink
println
in interface DebugSink
o
- the Object to outputpublic String toString(Object... args)
public void setDebug(boolean debug)
public void debug(Object... args)
DebugOut
debug
in interface DebugOut
public void debugMethod(String methodName, Object... args)
debugMethod
in interface DebugOut
public void debugMethod(String msg, String methodName, Object... args)
debugMethod
in interface DebugOut
public static String methodString(String name, Object... args)
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.