| java.lang.Object | |||
| ↳ | java.io.OutputStream | ||
| ↳ | java.io.FilterOutputStream | ||
| ↳ | com.google.code.com.sun.mail.util.TraceOutputStream | ||
This class is a subclass of DataOutputStream that copies the data being written into the DataOutputStream into another output stream. This class is used here to provide a debug trace of the stuff thats being written out into the DataOutputStream.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| quote | |||||||||||
| trace | |||||||||||
| traceOut | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.FilterOutputStream
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates an output stream filter built on top of the specified
underlying output stream.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Set quote mode.
| |||||||||||
Set the trace mode.
| |||||||||||
Writes
b.length bytes to this output stream. | |||||||||||
Writes the specified
byte to this output stream. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.FilterOutputStream
| |||||||||||
From class
java.io.OutputStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
java.io.Flushable
| |||||||||||
Creates an output stream filter built on top of the specified underlying output stream.
| out | The underlying output stream. |
|---|---|
| traceOut | The trace stream. |
Set quote mode.
| quote | The quote mode |
|---|
Set the trace mode.
| trace |
|---|
Writes b.length bytes to this output stream.
Writes out the bytes into the trace stream if the trace
mode is true
| b | |
|---|---|
| off | |
| len |
| IOException |
|---|
Writes the specified byte to this output stream.
Writes out the byte into the trace stream if the trace mode
is true
| b |
|---|
| IOException |
|---|