Package com.sun.mail.util
Class LogOutputStream
java.lang.Object
java.io.OutputStream
com.sun.mail.util.LogOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Capture output lines and send them to the mail logger.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream
-
Constructor Details
-
LogOutputStream
Log to the specified logger.- Parameters:
logger- the MailLogger
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-