Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.color |
Provides classes for color spaces.
|
java.io |
Provides for system input and output through data streams,
serialization and the file system.
|
java.security |
Provides the classes and interfaces for the security framework.
|
java.security.cert |
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
|
javax.management.openmbean |
Provides the open data types and Open MBean descriptor classes.
|
javax.print.attribute |
Provides classes and interfaces
that describe the types of JavaTM Print
Service attributes and how they can be collected into attribute sets.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AWTKeyStroke.readResolve()
Returns a cached instance of
AWTKeyStroke (or a subclass of
AWTKeyStroke ) which is equal to this instance. |
Modifier and Type | Method and Description |
---|---|
protected Object |
ICC_Profile.readResolve()
Resolves instances being deserialized into instances registered
with CMM.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidClassException
Thrown when the Serialization runtime detects one of the following
problems with a Class.
|
class |
InvalidObjectException
Indicates that one or more deserialized objects failed validation
tests.
|
class |
NotActiveException
Thrown when serialization or deserialization is not active.
|
class |
NotSerializableException
Thrown when an instance is required to have a Serializable interface.
|
class |
OptionalDataException
Exception indicating the failure of an object read operation due to
unread primitive data, or the end of data belonging to a serialized
object in the stream.
|
class |
StreamCorruptedException
Thrown when control information that was read from an object stream
violates internal consistency checks.
|
class |
WriteAbortedException
Signals that one of the ObjectStreamExceptions was thrown during a
write operation.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
KeyRep.readResolve()
Resolve the Key object.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
Certificate.CertificateRep.readResolve()
Resolve the Certificate Object.
|
protected Object |
CertPath.CertPathRep.readResolve()
Returns a
CertPath constructed from the type and data. |
protected Object |
Certificate.writeReplace()
Replace the Certificate to be serialized.
|
protected Object |
CertPath.writeReplace()
Replaces the
CertPath to be serialized with a
CertPathRep object. |
Modifier and Type | Method and Description |
---|---|
Object |
SimpleType.readResolve()
Replace an object read from an
ObjectInputStream with the unique instance for that
value. |
Modifier and Type | Method and Description |
---|---|
protected Object |
EnumSyntax.readResolve()
During object input, convert this deserialized enumeration instance to
the proper enumeration value defined in the enumeration attribute class.
|
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.