public class AsciiLinePacketReader extends DelimiterPacketReader
This can be used for reading lines of ASCII characters.
SKIP_PACKET
Constructor and Description |
---|
AsciiLinePacketReader()
Creates a '\n' delimited reader with an unlimited max buffer size.
|
AsciiLinePacketReader(int maxLineLength)
Creates a '\n' delimited reader with the given max line length
and default read buffer size.
|
getMaxPacketSize, nextPacket, setMaxPacketSize
public AsciiLinePacketReader()
public AsciiLinePacketReader(int maxLineLength)
Exceeding the line length will throw an IOException.
maxLineLength
- maximum line length.