Share via


ObjectOutputStream.ObjectOutputStream

Class Overview | Class Members | This Package | All Packages

Syntax

public ObjectOutputStream( OutputStream out ) throws IOException

Description

Creates an ObjectOutputStream that writes to the specified OutputStream. The stream header is written to the stream. The caller may want to call flush immediately so that the corresponding ObjectInputStream can read the header immediately.

Exceptions

IOException Any exception thrown by the underlying OutputStream.