implicit class RichReader extends PartialReader[Char]
Provides additional methods, over and above those already present in
the Java Reader
class. The implicits
object contains implicit
conversions between RichReader
and Reader
.
- Alphabetic
- By Inheritance
- RichReader
- PartialReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RichReader(reader: Reader)
- reader
the reader to wrap
Type Members
-
type
HasRead = AnyRef { def read(): Int }
- Definition Classes
- PartialReader
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
- @native() @throws( ... )
-
def
convert(b: Int): Char
- Attributes
- protected
- Definition Classes
- RichReader → PartialReader
-
def
copyTo(out: Writer): Unit
Copy the reader to a writer, stopping on EOF.
Copy the reader to a writer, stopping on EOF. This method does no buffering. If you want buffering, make sure you use a
java.io.BufferedReader
and ajava.io.BufferedWriter
. This method does not close either object.- out
the output stream
-
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
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
readSome(max: Int): List[Char]
Read up to
max
items from the reader.Read up to
max
items from the reader.- max
maximum number of items to read
- returns
a list of the items
- Definition Classes
- PartialReader
-
val
reader: Reader
- Definition Classes
- RichReader → PartialReader
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )