Interface java.io.ObjectOutput
All Packages Class Hierarchy This Package Previous Next Index
Interface java.io.ObjectOutput
- public interface ObjectOutput
- extends Object
- extends DataOutput
ObjectOutput extends the DataOutput interface to include writing of objects.
While DataOutput includes methods for output of primitive types, ObjectOutput
extends that interface to include objects, arrays, and Strings.
- See Also:
- InputStream, ObjectOutputStream, ObjectInputStream
-
writeObject(Object)
- Write an object.
writeObject
public abstract void writeObject(Object obj) throws IOException
- Write an object.
This allows an object to be written. The class that implements this
interface defines how the object is written.
- Throws: IOException
- Any of the usual Input/Output related exceptions.
All Packages Class Hierarchy This Package Previous Next Index