Uses of Interface
java.io.ObjectInput
Packages that useObjectInput
Package
Description
Provides interfaces and classes for transferring data between and within applications.
Provides for system input and output through data streams, serialization and the file system.
Provides classes and interfaces for supporting the server side of RMI.
Provides implementation support for building JShell execution engines.
Uses ofObjectInput injava.awt.datatransfer
Methods injava.awt.datatransfer with parameters of typeObjectInputModifier and TypeMethodDescriptionvoidDataFlavor.readExternal(ObjectInput is) Restores thisDataFlavorfrom a Serialized state.Uses ofObjectInput injava.io
Classes injava.io that implementObjectInputModifier and TypeClassDescriptionclassAn ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.Methods injava.io with parameters of typeObjectInputModifier and TypeMethodDescriptionvoidExternalizable.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 ofObjectInput injava.rmi.server
Methods injava.rmi.server that returnObjectInputMethods injava.rmi.server with parameters of typeObjectInputModifier and TypeMethodDescriptionstaticObjIDObjID.read(ObjectInput in) Constructs and returns a newObjIDinstance by unmarshalling a binary representation from anObjectInputinstance.Uses ofObjectInput injdk.jshell.execution
Methods injdk.jshell.execution with parameters of typeObjectInputModifier and TypeMethodDescriptionstatic voidUtil.forwardExecutionControl(ExecutionControl ec,ObjectInput in,ObjectOutput out) Forward commands from the input to the specifiedExecutionControlinstance, then responses back on the output.Method parameters injdk.jshell.execution with type arguments of typeObjectInputModifier and TypeMethodDescriptionstaticExecutionControlUtil.remoteInputOutput(InputStream input,OutputStream output,Map<String,OutputStream> outputStreamMap,Map<String,InputStream> inputStreamMap,BiFunction<ObjectInput,ObjectOutput,ExecutionControl> factory) Creates an ExecutionControl for given packetized input and output.Constructors injdk.jshell.execution with parameters of typeObjectInputModifierConstructorDescriptionprotectedCreate an instance.Creates an instance.