|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by classes which can write trace information. It is a subset of the PrintStream interface.
Method Summary | |
void |
close()
This method closes the trace stream. |
java.io.PrintStream |
getPrintStream()
This method returns the print stream associated with this output. |
void |
print(java.lang.Object message)
This method writes the message to the trace output, but doesn't include the newline. |
void |
println(java.lang.Object message)
This method writes a line to the trace output. |
void |
printStackTrace(java.lang.Throwable ex)
This method is used to write an exception's stack trace to the trace output. |
Method Detail |
public void print(java.lang.Object message)
message
- the message to writepublic void println(java.lang.Object message)
message
- the message to writepublic void printStackTrace(java.lang.Throwable ex)
ex
- the exception to printpublic java.io.PrintStream getPrintStream()
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |