## Uses of Interface
java.io.ObjectInput

- Packages that use ObjectInput
  Package | Description
  --- | ---
  java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications.
  java.io | Provides for system input and output through data streams, serialization and the file system.
  java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.
  javax.activation |
  javax.management.loading | Provides the classes which implement advanced dynamic loading.

- - ### Uses of ObjectInput in java.awt.datatransfer

    Methods in java.awt.datatransfer with parameters of type ObjectInput
    Modifier and Type | Method and Description
    --- | ---
    `void` | DataFlavor.`readExternal(ObjectInput is)` Restores this `DataFlavor` from a Serialized state.

  - ### Uses of ObjectInput in java.io

    Classes in java.io that implement ObjectInput
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ObjectInputStream` An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.

    Methods in java.io with parameters of type ObjectInput
    Modifier and Type | Method and Description
    --- | ---
    `void` | Externalizable.`readExternal(ObjectInput in)` The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.

  - ### Uses of ObjectInput in java.rmi.server

    Methods in java.rmi.server that return ObjectInput
    Modifier and Type | Method and Description
    --- | ---
    `ObjectInput` | RemoteCall.`getInputStream()` Deprecated. no replacement

    Methods in java.rmi.server with parameters of type ObjectInput
    Modifier and Type | Method and Description
    --- | ---
    `static ObjID` | ObjID.`read(ObjectInput in)` Constructs and returns a new `ObjID` instance by unmarshalling a binary representation from an `ObjectInput` instance.

  - ### Uses of ObjectInput in javax.activation

    Methods in javax.activation with parameters of type ObjectInput
    Modifier and Type | Method and Description
    --- | ---
    `void` | MimeType.`readExternal(ObjectInput in)` The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.

  - ### Uses of ObjectInput in javax.management.loading

    Methods in javax.management.loading with parameters of type ObjectInput
    Modifier and Type | Method and Description
    --- | ---
    `void` | MLet.`readExternal(ObjectInput in)` Restore this MLet's contents from the given `ObjectInput`.

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