stream

object stream extends ReadablePath => Generator[String]

Identical to os.read.lines, but streams the results back to you in a os.Generator rather than accumulating them in memory. Useful if the file is large.

trait ReadablePath => Generator[String]
class Object
trait Matchable
class Any
stream.type

Value members

Concrete methods

def apply(arg: ReadablePath): Generator[String]
def apply(arg: ReadablePath, charSet: Codec): Generator[String]

Inherited methods

@unspecialized
def andThen[A](g: Generator[String] => A): ReadablePath => A
Inherited from:
Function1
@unspecialized
def compose[A](g: A => ReadablePath): A => Generator[String]
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1