Package io.netty.handler.codec.string
Class LineSeparator
java.lang.Object
io.netty.handler.codec.string.LineSeparator
A class to represent line separators in different environments.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LineSeparator
The default line separator in the current system.static final LineSeparator
The Unix line separator(LF)private final String
static final LineSeparator
The Windows line separator(CRLF) -
Constructor Summary
ConstructorsConstructorDescriptionLineSeparator
(String lineSeparator) CreateLineSeparator
with the specifiedlineSeparator
string. -
Method Summary
-
Field Details
-
DEFAULT
The default line separator in the current system. -
UNIX
The Unix line separator(LF) -
WINDOWS
The Windows line separator(CRLF) -
value
-
-
Constructor Details
-
LineSeparator
CreateLineSeparator
with the specifiedlineSeparator
string.
-
-
Method Details