接口的使用
java.io.ObjectInput
使用 ObjectInput 的包
包
描述
提供用于在应用程序之间和应用程序内传输数据的接口和类。
通过数据流、序列化和文件系统提供系统输入和输出。
提供用于支持 RMI 服务端的类和接口。
提供实现高级动态加载的类。
为构建 JShell 执行引擎提供实现支持。
-
ObjectInput 在 java.awt.datatransfer 中的用法
java.awt.datatransfer 中的方法,参数类型为 ObjectInput -
ObjectInput 在 java.io 中的用法
java.io 中实现 ObjectInput 的类java.io 中的方法,参数类型为 ObjectInput修饰符和类型方法描述voidExternalizable.readExternal(ObjectInput in) 该对象实现了 readExternal 方法,通过调用基本类型的 DataInput 方法和对象、字符串和数组的 readObject 方法来恢复其内容。 -
ObjectInput 在 java.rmi.server 中的用法
java.rmi.server 中返回 ObjectInput 的方法java.rmi.server 中的方法,参数类型为 ObjectInput -
ObjectInput 在 javax.management.loading 中的用法
javax.management.loading 中的方法,参数类型为 ObjectInput修饰符和类型方法描述voidMLet.readExternal(ObjectInput in) 已弃用,将被删除:此 API 元素可能会在未来版本中删除。从给定的ObjectInput恢复这个 MLet 的内容。 -
ObjectInput 在 jdk.jshell.execution 中的用法
jdk.jshell.execution 中的方法,参数类型为 ObjectInput修饰符和类型方法描述static voidUtil.forwardExecutionControl(ExecutionControl ec, ObjectInput in, ObjectOutput out) 将命令从输入转发到指定的ExecutionControl实例,然后响应输出。jdk.jshell.execution 中的方法参数,类型参数为 ObjectInput修饰符和类型方法描述static ExecutionControlUtil.remoteInputOutput(InputStream input, OutputStream output, Map<String, OutputStream> outputStreamMap, Map<String, InputStream> inputStreamMap, BiFunction<ObjectInput, ObjectOutput, ExecutionControl> factory) 为给定的打包输入和输出创建一个 ExecutionControl。jdk.jshell.execution 中的构造函数,参数类型为 ObjectInput