All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

  • Field Summary

  • Constructor Summary

    Constructors

    Creates a piped writer that is not yet connected to a piped reader.

    Creates a piped writer connected to the specified piped reader.

  • Method Summary

    void

    close()

    Closes this piped output stream and releases any system resources associated with this stream.

    void

    Connects this piped writer to a receiver.

    void

    flush()

    Flushes this output stream and forces any buffered output characters to be written out.

    void

    write(char[] cbuf, int off, int len)

    Writes len characters from the specified character array starting at offset off to this piped output stream.

    void

    write(int c)

    Writes the specified char to the piped output stream.

  • Constructor Details

    • PipedWriter

    • PipedWriter

  • Method Details

    • connect

    • write

    • write

    • flush

    • close