Uses of Class java.io.ObjectStreamClass (Java Platform SE 8 )
Date: 2016-04-24

## Uses of Class
java.io.ObjectStreamClass

- Packages that use ObjectStreamClass
  Package | Description
  --- | ---
  java.io | Provides for system input and output through data streams, serialization and the file system.

- - ### Uses of ObjectStreamClass in java.io

    Methods in java.io that return ObjectStreamClass
    Modifier and Type | Method and Description
    --- | ---
    `abstract ObjectStreamClass` | ObjectInputStream.GetField.`getObjectStreamClass()` Get the ObjectStreamClass that describes the fields in the stream.
    `static ObjectStreamClass` | ObjectStreamClass.`lookup(Class<?> cl)` Find the descriptor for a class that can be serialized.
    `static ObjectStreamClass` | ObjectStreamClass.`lookupAny(Class<?> cl)` Returns the descriptor for any class, regardless of whether it implements `Serializable`.
    `protected ObjectStreamClass` | ObjectInputStream.`readClassDescriptor()` Read a class descriptor from the serialization stream.

    Methods in java.io with parameters of type ObjectStreamClass
    Modifier and Type | Method and Description
    --- | ---
    `protected Class<?>` | ObjectInputStream.`resolveClass(ObjectStreamClass desc)` Load the local class equivalent of the specified stream class description.
    `protected void` | ObjectOutputStream.`writeClassDescriptor(ObjectStreamClass desc)` Write the specified class descriptor to the ObjectOutputStream.

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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.