All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Direct Known Subclasses:
BufferedOutputStream, CheckedOutputStream, CipherOutputStream, DataOutputStream, DeflaterOutputStream, DigestOutputStream, InflaterOutputStream, PrintStream

  • Field Summary

    Fields

    The underlying output stream to be filtered.

  • Constructor Summary

    Constructors

    Creates an output stream filter built on top of the specified underlying output stream.

  • Method Summary

    void

    close()

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

    void

    flush()

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

    void

    write(byte[] b)

    Writes b.length bytes to this output stream.

    void

    write(byte[] b, int off, int len)

    Writes len bytes from the specified byte array starting at offset off to this output stream.

    void

    write(int b)

    Writes the specified byte to this output stream.

  • Field Details

    • out

  • Constructor Details

    • FilterOutputStream

  • Method Details

    • write

    • write

    • write

    • flush

    • close