Scala Library
|
|
scala/io/BufferedSource.scala
]
object
BufferedSource
extends
AnyRefMethod Summary | |
def
|
fromInputStream
(inputStream : java.io.InputStream, bufferSize : Int, reset : () => Source)(implicit codec : Codec) : BufferedSource
Reads data from
inputStream with a buffered reader,
using encoding in implicit parameter codec . |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
fromInputStream(inputStream : java.io.InputStream, bufferSize : Int, reset : () => Source)(implicit
codec : Codec) : BufferedSource
inputStream
with a buffered reader,
using encoding in implicit parameter codec
.inputStream -
the input stream from which to readbufferSize -
buffer size (defaults to Source.DefaultBufSize)reset -
a () => Source which resets the stream (defaults to Source.NoReset)codec -
(implicit) a scala.io.Codec specifying behavior (defaults to Codec.default)
Scala Library
|
|