|
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.OutputIgnore
public final class OutputIgnore
Directs output to the "bit bucket".
Field Summary | |
---|---|
static OutputIgnore |
INSTANCE
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OutputIgnore INSTANCE
Method Detail |
---|
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 boolean getDebug()
public void printDebug(Object o)
Output
printDebug
in interface Output
o
- the Object to outputpublic 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.