stream

os.read.lines.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.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
stream.type

Members list

Value members

Concrete methods

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

Inherited methods

def andThen[A](g: Generator[String] => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => ReadablePath): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1