| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private OutputStream |
| Access | Constructor and Description |
|---|---|
| public | TraceOutputStream(OutputStream
the underlying output stream. out, MailLogger log trace here logger)Creates an output stream filter built on top of the specified underlying output stream. |
| public | TraceOutputStream(OutputStream
the underlying output stream. out, OutputStream the trace stream. traceOut)Creates an output stream filter built on top of the specified underlying output stream. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | write(int
the byte to write b)Overrides java. byte to this output stream.
|
| public void | write(byte[]
bytes to write b, int offset in array off, int number of bytes to write len)Overrides java. b.length bytes to this output stream.
|
| private final void |
| quote | back to summary |
|---|---|
| private boolean quote | |
| trace | back to summary |
|---|---|
| private boolean trace | |
| traceOut | back to summary |
|---|---|
| private OutputStream traceOut | |
| TraceOutputStream | back to summary |
|---|---|
| public TraceOutputStream(OutputStream out, MailLogger logger) Creates an output stream filter built on top of the specified underlying output stream.
| |
| TraceOutputStream | back to summary |
|---|---|
| public TraceOutputStream(OutputStream out, OutputStream traceOut) Creates an output stream filter built on top of the specified underlying output stream.
| |
| setQuote | back to summary |
|---|---|
| public void setQuote(boolean quote) Set quote mode.
| |
| setTrace | back to summary |
|---|---|
| public void setTrace(boolean trace) Set the trace mode.
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Overrides java. Writes the specified
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Writes
| |
| 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. | |