scala.io

class BufferedSource

[source: scala/io/BufferedSource.scala]

abstract class BufferedSource(byteChannel : java.nio.channels.ReadableByteChannel, decoder : java.nio.charset.CharsetDecoder)
extends Source
This object provides convenience methods to create an iterable representation of a source file.
Author
Burak Emir
Version
1.0, 19/08/2004
Value Summary
abstract val buf_size : Int
val byteBuffer : java.nio.ByteBuffer
var charBuffer : java.nio.CharBuffer
var endOfInput : Boolean
override val iter : Iterator[Char]
the actual iterator
Values and Variables inherited from Source
cline, ccol, pos, ch, descr, nerrors, nwarnings, tabinc
Method Summary
abstract def close : Unit
def fillBuffer : java.nio.Buffer
Methods inherited from Source
reset (abstract), getLine, getLines, hasNext, next, reportError, reportError, report, reportWarning, reportWarning
Methods inherited from Iterator
take, drop, slice, map, append, ++, flatMap, filter, takeWhile, dropWhile, zip, zipWithIndex, foreach, forall, exists, contains, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, buffered, counted, duplicate, copyToArray, readInto, readInto, readInto, copyToBuffer, toList, collect, mkString, mkString, mkString, addString, toString
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
abstract val buf_size : Int

val byteBuffer : java.nio.ByteBuffer

var charBuffer : java.nio.CharBuffer

var endOfInput : Boolean

override val iter : Iterator[Char]
the actual iterator
Overrides
Source.iter

Method Details
abstract def close : Unit

def fillBuffer : java.nio.Buffer