scala.tools.nsc.symtab.classfile

AbstractFileReader

class AbstractFileReader extends AnyRef

This class reads files byte per byte. Only used by ClassFileParser

Source
AbstractFileReader.scala
Version

1.0, 23/03/2004

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. AbstractFileReader
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractFileReader (file: AbstractFile)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. var bp : Int

    the current input pointer

  8. val buf : Array[Byte]

    the buffer containing the file

  9. def byteAt (pos: Int): Byte

    return byte at offset 'pos'

    return byte at offset 'pos'

    Annotations
    @throws( classOf[IndexOutOfBoundsException] )
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. val file : AbstractFile

  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getChar (mybp: Int): Char

    extract a character at position bp from buf

  16. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def getDouble (mybp: Int): Double

    extract a double at position bp from buf

  18. def getFloat (mybp: Int): Float

    extract a float at position bp from buf

  19. def getInt (mybp: Int): Int

    extract an integer at position bp from buf

  20. def getLong (mybp: Int): Long

    extract a long integer at position bp from buf

  21. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  24. def nextByte : Byte

    read a byte

    read a byte

    Annotations
    @throws( classOf[IndexOutOfBoundsException] )
  25. def nextBytes (len: Int): Array[Byte]

    read some bytes

  26. def nextChar : Char

    read a character

  27. def nextInt : Int

    read an integer

  28. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def skip (n: Int): Unit

    skip next 'n' bytes

  31. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  32. def toString (): String

    Definition Classes
    AnyRef → Any
  33. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any