Exception that is thrown by lines(maxLength) if it encounters an
input whose length exceeds maxLength.
Exception that is thrown by lines(maxLength) if it encounters an
input whose length exceeds maxLength. The input parameter is set to the
input String that caused lines to fail.
Repartitions String inputs by line endings.
Repartitions String inputs by line endings. If maxLineLength is
greater than zero and a line exceeding maxLineLength is found, the
Process fails with an LengthExceeded exception. The default
maxLineLength is 10242.
scala> Process("Hel", "lo\nWo", "rld!\n").pipe(text.lines()).toList res0: List[String] = List(Hello, World!)
Converts UTF-8 encoded ByteVector inputs to String.
Converts String inputs to UTF-8 encoded ByteVector.
Module for text related processes.