|
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.base.AMXDebug.WrapOutput
public final class AMXDebug.WrapOutput
Internal class which wraps the Output so that debug may be dynamically enabled or disable without any users of the Output having to be aware of it.
Method Summary | |
---|---|
void |
close()
Done with it, can be destroyed. |
boolean |
getDebug()
|
void |
print(Object o)
Output a message without a newline. |
void |
printDebug(Object o)
Output a debug error message if getDebug() is currently true. |
void |
printError(Object o)
Output a message to error output |
void |
println(Object o)
Output a message with a newline. |
void |
reset()
|
void |
setDebug(boolean debug)
Change debug status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean getDebug()
public void setDebug(boolean debug)
public void print(Object o)
DebugSink
print
in interface DebugSink
print
in interface Output
o
- the Object to outputpublic void println(Object o)
DebugSink
println
in interface DebugSink
println
in interface Output
o
- the Object to outputpublic void printError(Object o)
Output
printError
in interface Output
o
- the Object to outputpublic void printDebug(Object o)
Output
printDebug
in interface Output
o
- the Object to outputpublic void reset()
public void close()
Output
close
in interface Output
|
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.