| Package | Description |
|---|---|
| org.apache.mina.filter.codec.textline |
A protocol codec for text-based protocols.
|
| 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 |
|---|
TextLineCodecFactory(Charset charset,
LineDelimiter encodingDelimiter,
LineDelimiter decodingDelimiter)
Creates a new instance of TextLineCodecFactory.
|
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 specified
charset
and the specified delimiter. |
TextLineEncoder(LineDelimiter delimiter)
Creates a new instance with the current default
Charset
and the specified delimiter. |
Copyright © 2004–2024 Apache MINA Project. All rights reserved.