| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private int | |
| protected Level | |
| protected MailLogger | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | expandCapacity(int len)
Ensure that the buffer can hold at least len bytes beyond the current position. |
| protected void | |
| private void | |
| public void | write(int
the b)byte.Implements abstract java. |
| public void | write(byte[]
the data. b)Overrides java. b.length bytes from the specified byte array
to this output stream.
|
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| buf | back to summary |
|---|---|
| private byte[] buf | |
| lastb | back to summary |
|---|---|
| private int lastb | |
| level | back to summary |
|---|---|
| protected Level level | |
| logger | back to summary |
|---|---|
| protected MailLogger logger | |
| pos | back to summary |
|---|---|
| private int pos | |
| LogOutputStream | back to summary |
|---|---|
| public LogOutputStream(MailLogger logger) Log to the specified logger.
| |
| expandCapacity | back to summary |
|---|---|
| private void expandCapacity(int len) Ensure that the buffer can hold at least len bytes beyond the current position. | |
| log | back to summary |
|---|---|
| protected void log(String msg) Log the specified message. Can be overridden by subclass to do different logging.
| |
| logBuf | back to summary |
|---|---|
| private void logBuf() Convert the buffer to a string and log it. | |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] b) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |