All Superinterfaces:
AutoCloseable, DataOutput
All Known Implementing Classes:
ObjectOutputStream

  • Method Summary

    void

    close()

    void

    flush()

    void

    write(byte[] b)

    Writes an array of bytes.

    void

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

    Writes a sub array of bytes.

    void

    write(int b)

    void

    Write an object to the underlying storage or stream.

    Methods declared in interface DataOutput

    writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF

    void

    Writes a boolean value to this output stream.

    void

    Writes to the output stream the eight low-order bits of the argument v.

    void

    Writes a string to the output stream.

    void

    Writes a char value, which is comprised of two bytes, to the output stream.

    void

    Writes every character in the string s, to the output stream, in order, two bytes per character.

    void

    Writes a double value, which is comprised of eight bytes, to the output stream.

    void

    Writes a float value, which is comprised of four bytes, to the output stream.

    void

    Writes an int value, which is comprised of four bytes, to the output stream.

    void

    Writes a long value, which is comprised of eight bytes, to the output stream.

    void

    Writes two bytes to the output stream to represent the value of the argument.

    void

    Writes two bytes of length information to the output stream, followed by the modified UTF-8 representation of every character in the string s.

  • Method Details

    • writeObject

    • write

    • write

    • write

    • flush

    • close