Package | Description |
---|---|
java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
Modifier and Type | Method | 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.
|
Modifier and Type | Method | 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, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.