| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private OutputStream |
| Access | Constructor and Description |
|---|---|
| public | TraceInputStream(InputStream
the underlying input stream. in, MailLogger log trace here logger)Creates an input stream filter built on top of the specified input stream. |
| public | TraceInputStream(InputStream
the underlying input stream. in, OutputStream the trace stream. traceOut)Creates an input stream filter built on top of the specified input stream. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | read(byte[]
the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. len bytes of data from this input stream
into an array of bytes.
|
| public void | |
| public void | |
| private final void |
| quote | back to summary |
|---|---|
| private boolean quote | |
| trace | back to summary |
|---|---|
| private boolean trace | |
| traceOut | back to summary |
|---|---|
| private OutputStream traceOut | |
| TraceInputStream | back to summary |
|---|---|
| public TraceInputStream(InputStream in, MailLogger logger) Creates an input stream filter built on top of the specified input stream.
| |
| TraceInputStream | back to summary |
|---|---|
| public TraceInputStream(InputStream in, OutputStream traceOut) Creates an input stream filter built on top of the specified input stream.
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Reads the next byte of data from this input stream. Returns
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Reads up to
| |
| setQuote | back to summary |
|---|---|
| public void setQuote(boolean quote) Set quote mode.
| |
| setTrace | back to summary |
|---|---|
| public void setTrace(boolean trace) Set trace mode.
| |
| writeByte | back to summary |
|---|---|
| private final void writeByte(int b) throws IOException Write a byte in a way that every byte value is printable ASCII. | |