Creates a new instance with the current default {@link Charset} and {@link LineDelimiter#AUTO} delimiter.
Creates a new instance with the current default {@link Charset} and the specified <tt>delimiter</tt>.
Creates a new instance with the current default {@link Charset} and the specified <tt>delimiter</tt>.
{@inheritDoc}
{@inheritDoc}
@return the allowed buffer size used to store the decoded line in the Context instance.
@return the allowed maximum size of the line to be decoded. If the size of the line to be decoded exceeds this value, the decoder will throw a {@link BufferDataException}. The default value is <tt>1024</tt> (1KB).
Sets the default buffer size. This buffer is used in the Context to store the decoded line.
Sets the allowed maximum size of the line to be decoded. If the size of the line to be decoded exceeds this value, the decoder will throw a {@link BufferDataException}. The default value is <tt>1024</tt> (1KB).
A {@link ProtocolDecoder} which decodes a text line into a string.
@author <a href="http://mina.apache.org">Apache MINA Project</a>