org.apache.commons.net.io
public final class DotTerminatedMessageWriter extends Writer
This class handles the doubling of line-starting periods, converts single linefeeds to NETASCII newlines, and on closing will send the final message terminator dot and NETASCII newline sequence.
Constructor Summary | |
---|---|
DotTerminatedMessageWriter(Writer output)
Creates a DotTerminatedMessageWriter that wraps an existing Writer
output destination.
|
Parameters: output The Writer output destination to write the message.