Abstract class for writing to character streams. The only methods that a subclass must implement are write(string, number, number), flush(), 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.Writer for full documentation

Hierarchy

Implements

Constructors

Methods

Constructors

Methods

  • Appends the specified string to this writer.

    Parameters

    • str: string
    • Optional start: number

      Start of substring in str to write

    • Optional end: number

      End of substring in str to write

    Returns Writer

  • Closes the stream, flushing it first.

    Returns void

  • Flushes the stream.

    Returns void

  • Writes an array, or portion thereof, of characters.

    Parameters

    • str: string
    • Optional off: number

      Offset from which to start writing characters

    • Optional len: number

      Number of characters to write

    Returns void

Generated using TypeDoc