| java.lang.Object | |||
| ↳ | java.io.InputStream | ||
| ↳ | java.io.FilterInputStream | ||
| ↳ | com.google.code.com.sun.mail.util.TraceInputStream | ||
This class is a FilterInputStream that writes the bytes being read from the given input stream into the given output stream. This class is typically used to provide a trace of the data that is being retrieved from an input stream.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.InputStream
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| quote | |||||||||||
| trace | |||||||||||
| traceOut | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.FilterInputStream
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates an input stream filter built on top of the specified
input stream.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Reads the next byte of data from this input stream.
| |||||||||||
Reads up to
len bytes of data from this input stream
into an array of bytes. | |||||||||||
Set quote mode.
| |||||||||||
Set trace mode.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.FilterInputStream
| |||||||||||
From class
java.io.InputStream
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
Creates an input stream filter built on top of the specified input stream.
| in | The underlying input stream. |
|---|---|
| traceOut | The trace stream |
Reads the next byte of data from this input stream. Returns
-1 if no data is available. Writes out the read
byte into the trace stream, if trace mode is true
| IOException |
|---|
Reads up to len bytes of data from this input stream
into an array of bytes. Returns -1 if no more data
is available. Writes out the read bytes into the trace stream, if
trace mode is true
| b | |
|---|---|
| off | |
| len |
| IOException |
|---|
Set quote mode.
| quote | The quote mode |
|---|
Set trace mode.
| trace | The trace mode |
|---|