Packages

c

info.kwarc.mmt.odk.SCSCP.Lowlevel.Readers

BufferedLineReader

class BufferedLineReader extends AnyRef

Represents a reader that can read lines both in a blocking and non-blocking way.

Source
BufferedLineReader.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferedLineReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BufferedLineReader(stream: InputStream, encoding: String = "UTF-8")

    stream

    InputStream to read / write characters from

    encoding

    Encoding to use. Defaults to UTF-8.

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. val encoding: String
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getLineLength: Option[Int]

    Gets the length of the current line in the buffer or None, in case no line is available

  12. def hasChar: Boolean

    Checks if this BufferedSocketReader has a character that is ready to be read

  13. def hasLine: Boolean

    Checks if this BufferedSocketReader has a line that is ready to be read

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def readChar(block: Boolean = false): Option[Char]

    Convenience method that reads the next character in this BufferedLineReader in a blocking or non-blocking way.

    Convenience method that reads the next character in this BufferedLineReader in a blocking or non-blocking way.

    block

    Boolean indicating if we should block until the next character is available

  20. def readChar: Option[Char]

    Reads the next character in this BufferedLineReader.

    Reads the next character in this BufferedLineReader. Does not block, i.e. returns None if no character is currently available.

  21. def readCharBlock: Char

    Reads the next character in this BufferedLineReader.

    Reads the next character in this BufferedLineReader. Blocks, i.e. waits until a character is available.

  22. def readLine(block: Boolean): Option[String]

    Convenience method that reads the next line in this BufferedLineReader in a blocking or non-blocking way.

    Convenience method that reads the next line in this BufferedLineReader in a blocking or non-blocking way.

    block

    Boolean indicating if we should block until the next line is available

  23. def readLine: Option[String]

    Reads the next line in this BufferedLineReader.

    Reads the next line in this BufferedLineReader. Does not block, i.e. returns None if no line is currently available.

  24. def readLineBlock: String

    Reads the next line in this BufferedLineReader.

    Reads the next line in this BufferedLineReader. Blocks, i.e. waits until a new line is available if it currently isn't

  25. def reset(): Unit

    Resets this BufferedLineReader to the first char it read.

  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped