Class LineDelimiter
java.lang.Object
org.apache.mina.filter.codec.textline.LineDelimiter
A delimiter which is appended to the end of a text line, such as
CR/LF.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LineDelimiter
A special line delimiter which is used for auto-detection of EOL inTextLineDecoder
.static final LineDelimiter
the line delimiter constant of the current O/S.static final LineDelimiter
The line delimiter constant of Mac OS ("\r")static final LineDelimiter
The line delimiter constant of UNIX ("\n")static final LineDelimiter
The line delimiter constant of MS Windows/DOS ("\r\n") -
Constructor Summary
ConstructorsConstructorDescriptionLineDelimiter
(String value) Creates a new line delimiter with the specified value. -
Method Summary
-
Field Details
-
DEFAULT
the line delimiter constant of the current O/S. -
AUTO
A special line delimiter which is used for auto-detection of EOL inTextLineDecoder
. If this delimiter is used,TextLineDecoder
will consider both '\r' and '\n' as a delimiter. -
UNIX
The line delimiter constant of UNIX ("\n") -
WINDOWS
The line delimiter constant of MS Windows/DOS ("\r\n") -
MAC
The line delimiter constant of Mac OS ("\r")
-
-
Constructor Details
-
LineDelimiter
Creates a new line delimiter with the specified value.
-
-
Method Details