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)static 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)
-
-
Constructor Details
-
LineSeparator
CreateLineSeparatorwith the specifiedlineSeparatorstring.
-
-
Method Details
-
value
Return the string value of this line separator. -
equals
-
hashCode
-
toString
-