Packages

c

scala.tools.nsc.symtab.classfile

AbstractFileReader

final class AbstractFileReader extends DataReader

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

Source
AbstractFileReader.scala
Version

1.0, 23/03/2004

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractFileReader
  2. DataReader
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from AbstractFileReader to any2stringadd[AbstractFileReader] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AbstractFileReader, B)
    Implicit
    This member is added by an implicit conversion from AbstractFileReader to ArrowAssoc[AbstractFileReader] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. var bp: Int

    the current input pointer

    the current input pointer

    Definition Classes
    AbstractFileReaderDataReader
  8. val buf: Array[Byte]
    Definition Classes
    AbstractFileReaderDataReader
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def ensuring(cond: (AbstractFileReader) ⇒ Boolean, msg: ⇒ Any): AbstractFileReader
    Implicit
    This member is added by an implicit conversion from AbstractFileReader to Ensuring[AbstractFileReader] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (AbstractFileReader) ⇒ Boolean): AbstractFileReader
    Implicit
    This member is added by an implicit conversion from AbstractFileReader to Ensuring[AbstractFileReader] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): AbstractFileReader
    Implicit
    This member is added by an implicit conversion from AbstractFileReader to Ensuring[AbstractFileReader] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): AbstractFileReader
    Implicit
    This member is added by an implicit conversion from AbstractFileReader to Ensuring[AbstractFileReader] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AbstractFileReader to StringFormat[AbstractFileReader] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. def getByte(mybp: Int): Byte

    extract a byte at position bp from buf

    extract a byte at position bp from buf

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

    extract a character at position bp from buf

    extract a character at position bp from buf

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

    extract a double at position bp from buf

    extract a double at position bp from buf

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

    extract a float at position bp from buf

    extract a float at position bp from buf

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

    extract an integer at position bp from buf

    extract an integer at position bp from buf

    Definition Classes
    AbstractFileReaderDataReader
  25. 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
  26. def getUTF(mybp: Int, len: Int): String
    Definition Classes
    AbstractFileReaderDataReader
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def nextByte: Byte

    read a byte

    read a byte

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

    read some bytes

    read some bytes

    Definition Classes
    AbstractFileReaderDataReader
  32. def nextChar: Char

    read a character

    read a character

    Definition Classes
    AbstractFileReaderDataReader
  33. def nextInt: Int

    read an integer

    read an integer

    Definition Classes
    AbstractFileReaderDataReader
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def skip(n: Int): Unit

    skip next 'n' bytes

    skip next 'n' bytes

    Definition Classes
    AbstractFileReaderDataReader
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  42. def [B](y: B): (AbstractFileReader, B)
    Implicit
    This member is added by an implicit conversion from AbstractFileReader to ArrowAssoc[AbstractFileReader] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from DataReader

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AbstractFileReader to any2stringadd[AbstractFileReader]

Inherited by implicit conversion StringFormat from AbstractFileReader to StringFormat[AbstractFileReader]

Inherited by implicit conversion Ensuring from AbstractFileReader to Ensuring[AbstractFileReader]

Inherited by implicit conversion ArrowAssoc from AbstractFileReader to ArrowAssoc[AbstractFileReader]

Ungrouped