A Converter that splits a String into individual lines.
A line is terminated by either a CR (U+000D), a LF (U+000A), a CR+LF sequence (DOS line ending), and a final non-empty line can be ended by the end of the string.
The returned lines do not contain the line terminators.
Static Methods
Constructors
- LineSplitter()
-
const
Methods
-
bind(
Stream stream) → Stream -
inherited
Transform the incoming
stream
's events.… -
convert(
String data) → List<String> -
Converts
input
and returns the result of the conversion. -
fuse(
Converter<List<String>> other) → Converter<String> -
inherited
Fuses
this
withother
.… -
startChunkedConversion(
Sink<String> sink) → StringConversionSink -
Starts a chunked conversion.