Packages

  • package root
    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package reflect
    Definition Classes
    scala
  • package io
    Definition Classes
    reflect
  • object Streamable

    Traits for objects which can be represented as Streams.

    Traits for objects which can be represented as Streams.

    Definition Classes
    io
    Since

    2.8 Note: This library is considered experimental and should not be used unless you know what you are doing.

  • Bytes
  • Chars

trait Chars extends Bytes

For objects which can be viewed as Chars.

Note: This library is considered experimental and should not be used unless you know what you are doing.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chars
  2. Bytes
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def inputStream(): InputStream
    Definition Classes
    Bytes

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applyReader[T](f: (BufferedReader) ⇒ T): T

    Creates a BufferedReader and applies the closure, automatically closing it on completion.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bufferedInput(): BufferedInputStream
    Definition Classes
    Bytes
  7. def bufferedReader(codec: Codec): BufferedReader
  8. def bufferedReader(): BufferedReader

    Wraps a BufferedReader around the result of reader().

  9. def bytes(): Iterator[Byte]
    Definition Classes
    Bytes
  10. def bytesAsInts(): Iterator[Int]
    Definition Classes
    Bytes
  11. def chars(codec: Codec): BufferedSource

    Caller is responsible for closing the returned BufferedSource.

  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. def creationCodec: Codec

    Calls to methods requiring byte<->char transformations should be offered in a form which allows specifying the codec.

    Calls to methods requiring byte<->char transformations should be offered in a form which allows specifying the codec. When it is not specified, the one discovered at creation time will be used, which will always find the one in scala.io.Codec if no other is available. This can be overridden to use a different default.

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def length: Long
    Definition Classes
    Bytes
  21. def lines(codec: Codec): Iterator[String]

    Beware! Leaks an InputStream which will not be closed until it gets finalized.

  22. def lines(): Iterator[String]

    Beware! Leaks an InputStream which will not be closed until it gets finalized.

  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def reader(codec: Codec): InputStreamReader

    Obtains an InputStreamReader wrapped around a FileInputStream.

  27. def slurp(codec: Codec): String
  28. def slurp(): String

    Convenience function to import entire file into a String.

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toByteArray(): Array[Byte]

    This method aspires to be the fastest way to read a stream of known length into memory.

    This method aspires to be the fastest way to read a stream of known length into memory.

    Definition Classes
    Bytes
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Bytes

Inherited from AnyRef

Inherited from Any

Ungrouped