Java EE 5 SDK

com.sun.appserv.management.util.misc
Class OutputIgnore

java.lang.Object
  extended by com.sun.appserv.management.util.misc.OutputIgnore
All Implemented Interfaces:
DebugSink, Output

public final class OutputIgnore
extends Object
implements Output

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

INSTANCE

public static final OutputIgnore INSTANCE
Method Detail

print

public void print(Object o)
Description copied from interface: DebugSink
Output a message without a newline.

Specified by:
print in interface DebugSink
Specified by:
print in interface Output
Parameters:
o - the Object to output

println

public void println(Object o)
Description copied from interface: DebugSink
Output a message with a newline.

Specified by:
println in interface DebugSink
Specified by:
println in interface Output
Parameters:
o - the Object to output

printError

public void printError(Object o)
Description copied from interface: Output
Output a message to error output

Specified by:
printError in interface Output
Parameters:
o - the Object to output

getDebug

public boolean getDebug()

printDebug

public void printDebug(Object o)
Description copied from interface: Output
Output a debug error message if getDebug() is currently true.

Specified by:
printDebug in interface Output
Parameters:
o - the Object to output

close

public void close()
Description copied from interface: Output
Done with it, can be destroyed.

Specified by:
close in interface Output

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.