Creates a new instance with the current default {@link Charset} and {@link LineDelimiter#UNIX} 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>.
Dispose the encoder
{@inheritDoc}
@return the allowed maximum size of the encoded line. If the size of the encoded line exceeds this value, the encoder will throw a {@link IllegalArgumentException}. The default value is {@link Integer#MAX_VALUE}.
Sets the allowed maximum size of the encoded line. If the size of the encoded line exceeds this value, the encoder will throw a {@link IllegalArgumentException}. The default value is {@link Integer#MAX_VALUE}.
A {@link ProtocolEncoder} which encodes a string into a text line which ends with the delimiter.
@author <a href="http://mina.apache.org">Apache MINA Project</a>