Bluestep JS Documentation
    Preparing search index...

    Class Reader

    Abstract class for reading character streams. The only methods that a subclass must implement are read(string, number, number) and close(). Most subclasses, however, will override some of the methods defined here in order to provide higher efficiency, additional functionality, or both.

    See java.io.Reader for full documentation

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Methods

    • Closes the stream and releases any system resources associated with it.

      Returns void

    • Marks the present position in the stream.

      Parameters

      • readAheadLimit: number

      Returns void

    • Tells whether this stream supports the mark() operation.

      Returns boolean

    • Reads a single character.

      Returns number

    • Reads characters into an array.

      Parameters

      • cbuf: string

      Returns number

    • Reads characters into a portion of an array.

      Parameters

      • cbuf: string
      • off: number
      • len: number

      Returns number

    • Tells whether this stream is ready to be read.

      Returns boolean

    • Resets the stream.

      Returns void

    • Skips characters.

      Parameters

      • n: number

      Returns number

    • Reads all characters from this reader and writes the characters to the given writer in the order that they are read.

      Parameters

      Returns number

    • Returns a new Reader that reads no characters.

      Returns Reader