class
LineSplitter

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.

Extends

Static Methods

split(String lines, [int start = 0, int end]) → Iterable<String>
Split lines into individual lines.

Constructors

LineSplitter()
const

Methods

convert(String data) → List<String>
Converts [input] and returns the result of the conversion.
startChunkedConversion(Sink<String> sink) → StringConversionSink
Starts a chunked conversion.
fuse(Converter<List<String>> other) → Converter<String>
inherited
Fuses this with other.
bind(Stream stream) → Stream
inherited
Transform the incoming [stream]'s events.
fuse(Converter<List<String>> other) → Converter<String>
inherited
Fuses this with other.