Uses of Class java.io.ObjectOutputStream (Java Platform SE 8 )
Date: 2026-08-19

## Uses of Class
java.io.ObjectOutputStream

- Packages that use ObjectOutputStream
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.beans.beancontext | Provides classes and interfaces relating to bean context.
  javax.rmi.CORBA | Contains portability APIs for RMI-IIOP.
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.

- - ### Uses of ObjectOutputStream in java.awt

    Methods in java.awt with parameters of type ObjectOutputStream
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | AWTEventMulticaster.`save(ObjectOutputStream s, String k, EventListener l)`
    `protected void` | AWTEventMulticaster.`saveInternal(ObjectOutputStream s, String k)`

  - ### Uses of ObjectOutputStream in java.beans.beancontext

    Methods in java.beans.beancontext with parameters of type ObjectOutputStream
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | BeanContextSupport.`bcsPreSerializationHook(ObjectOutputStream oos)` called by writeObject after defaultWriteObject() but prior to serialization of currently serializable children.
    `protected void` | BeanContextServicesSupport.`bcsPreSerializationHook(ObjectOutputStream oos)` called from BeanContextSupport writeObject before it serializes the children ...
    `protected void` | BeanContextSupport.`serialize(ObjectOutputStream oos, Collection coll)` Used by writeObject to serialize a Collection.
    `void` | BeanContextSupport.`writeChildren(ObjectOutputStream oos)` Used to serialize all children of this `BeanContext`.

  - ### Uses of ObjectOutputStream in javax.rmi.CORBA

    Methods in javax.rmi.CORBA with parameters of type ObjectOutputStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | StubDelegate.`writeObject(Stub self, ObjectOutputStream s)` Delegation call for `Stub.writeObject(java.io.ObjectOutputStream)`.

  - ### Uses of ObjectOutputStream in javax.swing.text

    Methods in javax.swing.text with parameters of type ObjectOutputStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | StyleContext.`writeAttributes(ObjectOutputStream out, AttributeSet a)` Context-specific handling of writing out attributes
    `static void` | StyleContext.`writeAttributeSet(ObjectOutputStream out, AttributeSet a)` Writes a set of attributes to the given object stream for the purpose of serialization.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.