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 LineSeparatorThe default line separator in the current system.static final LineSeparatorThe Unix line separator(LF)private final Stringstatic final LineSeparatorThe Windows line separator(CRLF) -
Constructor Summary
ConstructorsConstructorDescriptionLineSeparator(String lineSeparator) CreateLineSeparatorwith the specifiedlineSeparatorstring. -
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
CreateLineSeparatorwith the specifiedlineSeparatorstring.
-
-
Method Details