object text
Ordering
- Alphabetic
- By Inheritance
Inherited
- text
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
LengthExceeded
(maxLength: Int, input: String) extends Exception with Product with Serializable
Exception that is thrown by
lines(maxLength)if it encounters an input whose length exceedsmaxLength.Exception that is thrown by
lines(maxLength)if it encounters an input whose length exceedsmaxLength. Theinputparameter is set to the inputStringthat causedlinesto fail.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lines(maxLineLength: Int = 1024 * 1024): Process1[String, String]
Repartitions
Stringinputs by line endings.Repartitions
Stringinputs by line endings. IfmaxLineLengthis greater than zero and a line exceedingmaxLineLengthis found, theProcessfails with anLengthExceededexception. The defaultmaxLineLengthis 10242.scala> Process("Hel", "lo\nWo", "rld!\n").pipe(text.lines()).toList res0: List[String] = List(Hello, World!)
Example: -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
utf8Decode: Process1[ByteVector, String]
Converts UTF-8 encoded
ByteVectorinputs toString. -
val
utf8Encode: Process1[String, ByteVector]
Converts
Stringinputs to UTF-8 encodedByteVector. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )