org.apache.commons.net.io
public final class DotTerminatedMessageReader extends Reader
This class handles stripping of the duplicate period at the beginning of lines starting with a period, converts NETASCII newlines to the local line separator format, truncates the end of message indicator, and ensures you cannot read past the end of the message.
Version: $Id: DotTerminatedMessageReader.java 636825 2008-03-13 18:34:52Z sebb $
Constructor Summary | |
---|---|
DotTerminatedMessageReader(Reader reader)
Creates a DotTerminatedMessageReader that wraps an existing Reader
input source. |
Parameters: reader The Reader input source containing the message.