| Package | Description | 
|---|---|
| io.netty.handler.codec.string | 
| Modifier and Type | Field and Description | 
|---|---|
static LineSeparator | 
LineSeparator.DEFAULT
The default line separator in the current system. 
 | 
static LineSeparator | 
LineSeparator.UNIX
The Unix line separator(LF) 
 | 
static LineSeparator | 
LineSeparator.WINDOWS
The Windows line separator(CRLF) 
 | 
| Constructor and Description | 
|---|
LineEncoder(LineSeparator lineSeparator)
Creates a new instance with the specified line separator and UTF-8 charset encoding. 
 | 
LineEncoder(LineSeparator lineSeparator,
           Charset charset)
Creates a new instance with the specified line separator and character set. 
 | 
Copyright © 2008–2025 The Netty Project. All rights reserved.