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.12.13) 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 getByte(mybp: Int): Byte

    extract a byte at position bp from buf

    extract a byte at position bp from buf

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

    extract a character at position bp from buf

    extract a character at position bp from buf

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

    extract a double at position bp from buf

    extract a double at position bp from buf

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

    extract a float at position bp from buf

    extract a float at position bp from buf

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

    extract an integer at position bp from buf

    extract an integer at position bp from buf

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

    read a byte

    read a byte

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

    read some bytes

    read some bytes

    Definition Classes
    AbstractFileReaderDataReader
  31. def nextChar: Char

    read a character

    read a character

    Definition Classes
    AbstractFileReaderDataReader
  32. def nextInt: Int

    read an integer

    read an integer

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

    skip next 'n' bytes

    skip next 'n' bytes

    Definition Classes
    AbstractFileReaderDataReader
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  41. 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

Deprecated Value Members

  1. 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
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

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