Java EE 5 SDK

com.sun.appserv.management.util.misc
Interface Output

All Superinterfaces:
DebugSink
All Known Implementing Classes:
AMXDebug.WrapOutput, FileOutput, OutputIgnore

public interface Output
extends DebugSink

The API that should be used to output from a Cmd running within the framework.


Method Summary
 void close()
          Done with it, can be destroyed.
 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.
 

Method Detail

print

void print(Object o)
Output a message without a newline.

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

println

void println(Object o)
Output a message with a newline.

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

printError

void printError(Object o)
Output a message to error output

Parameters:
o - the Object to output

printDebug

void printDebug(Object o)
Output a debug error message if getDebug() is currently true.

Parameters:
o - the Object to output

close

void close()
Done with it, can be destroyed.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.