Package | Description |
---|---|
org.apache.mina.codec.textline |
Modifier and Type | Field and Description |
---|---|
static LineDelimiter |
LineDelimiter.AUTO
A special line delimiter which is used for auto-detection of
EOL in
TextLineDecoder . |
static LineDelimiter |
LineDelimiter.CRLF
The CRLF line delimiter constant ("\r\n")
|
static LineDelimiter |
LineDelimiter.DEFAULT
the line delimiter constant of the current O/S.
|
static LineDelimiter |
LineDelimiter.MAC
The line delimiter constant of Mac OS ("\r")
|
static LineDelimiter |
LineDelimiter.NUL
The line delimiter constant for NUL-terminated text protocols
such as Flash XML socket ("\0")
|
static LineDelimiter |
LineDelimiter.UNIX
The line delimiter constant of UNIX ("\n")
|
static LineDelimiter |
LineDelimiter.WINDOWS
The line delimiter constant of MS Windows/DOS ("\r\n")
|
Constructor and Description |
---|
TextLineDecoder(Charset charset,
LineDelimiter delimiter)
Creates a new instance with the specified charset and the specified delimiter.
|
TextLineDecoder(LineDelimiter delimiter)
Creates a new instance with the current default
Charset and the specified delimiter. |
TextLineEncoder(Charset charset,
LineDelimiter delimiter)
Creates a new instance with the spcified charset
and the specified delimiter.
|
TextLineEncoder(LineDelimiter delimiter)
Creates a new instance with the current default
Charset
and the specified delimiter. |
Copyright © 2009–2013 Apache MINA Project. All rights reserved.