Packages

c

scala.tools.nsc.symtab.classfile

AbstractFileReader

final class AbstractFileReader extends DataReader

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

Version

1.0, 23/03/2004

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractFileReader
  2. DataReader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractFileReader(buf: Array[Byte])
  2. new AbstractFileReader(file: AbstractFile)
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use other constructor

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. var bp: Int

    the current input pointer

    the current input pointer

    Definition Classes
    AbstractFileReaderDataReader
  6. val buf: Array[Byte]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getByte(mybp: Int): Byte

    extract a byte at position bp from buf

    extract a byte at position bp from buf

    Definition Classes
    AbstractFileReaderDataReader
  12. def getBytes(mybp: Int, bytes: Array[Byte]): Unit
    Definition Classes
    AbstractFileReaderDataReader
  13. def getChar(mybp: Int): Char

    extract a character at position bp from buf

    extract a character at position bp from buf

    Definition Classes
    AbstractFileReaderDataReader
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getDouble(mybp: Int): Double

    extract a double at position bp from buf

    extract a double at position bp from buf

    Definition Classes
    AbstractFileReaderDataReader
  16. def getFloat(mybp: Int): Float

    extract a float at position bp from buf

    extract a float at position bp from buf

    Definition Classes
    AbstractFileReaderDataReader
  17. def getInt(mybp: Int): Int

    extract an integer at position bp from buf

    extract an integer at position bp from buf

    Definition Classes
    AbstractFileReaderDataReader
  18. def getLong(mybp: Int): Long

    extract a long integer at position bp from buf

    extract a long integer at position bp from buf

    Definition Classes
    AbstractFileReaderDataReader
  19. def getUTF(mybp: Int, len: Int): String
    Definition Classes
    AbstractFileReaderDataReader
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def nextByte: Byte

    read a byte

    read a byte

    Definition Classes
    AbstractFileReaderDataReader
    Annotations
    @throws( classOf[IndexOutOfBoundsException] )
  24. def nextBytes(len: Int): Array[Byte]

    read some bytes

    read some bytes

    Definition Classes
    AbstractFileReaderDataReader
  25. def nextChar: Char

    read a character

    read a character

    Definition Classes
    AbstractFileReaderDataReader
  26. def nextInt: Int

    read an integer

    read an integer

    Definition Classes
    AbstractFileReaderDataReader
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def skip(n: Int): Unit

    skip next 'n' bytes

    skip next 'n' bytes

    Definition Classes
    AbstractFileReaderDataReader
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  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
    @throws( ... ) @native()

Inherited from DataReader

Inherited from AnyRef

Inherited from Any

Ungrouped