类 BukkitObjectInputStream
java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
org.bukkit.util.io.BukkitObjectInputStream
- 所有已实现的接口:
Closeable
,DataInput
,ObjectInput
,ObjectStreamConstants
,AutoCloseable
这个类旨在用于与
ConfigurationSerializable
API 一起使用.
它将对象转换回被 BukkitObjectInputStream
序列化之前的原始表示.
直接继承实现这个类的语法可能在未来版本被取消.
原文:This class is designed to be used in conjunction with the ConfigurationSerializable
API. It translates objects back to their
original implementation after being serialized by BukkitObjectInputStream
.
Behavior of implementations extending this class is not guaranteed across
future versions.
-
嵌套类概要
从类继承的嵌套类/接口 java.io.ObjectInputStream
ObjectInputStream.GetField
-
字段概要
从接口继承的字段 java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, SERIAL_FILTER_PERMISSION, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
-
构造器概要
限定符构造器说明protected
构造函数提供镜像连接父类的功能.输入流作为参数的构造函数. -
方法概要
从类继承的方法 java.io.ObjectInputStream
available, close, defaultReadObject, enableResolveObject, getObjectInputFilter, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, resolveClass, resolveProxyClass, setObjectInputFilter, skipBytes
从类继承的方法 java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 java.io.ObjectInput
read, skip
-
构造器详细资料
-
BukkitObjectInputStream
构造函数提供镜像连接父类的功能.原文:Constructor provided to mirror super functionality.
- 抛出:
IOException
- 创建输入流时发生 I/O 错误SecurityException
- 如果安全管理器存在并且拒绝启用subclassing- 另请参阅:
-
BukkitObjectInputStream
输入流作为参数的构造函数.原文:Object input stream decoration constructor.
- 参数:
in
- InputStream对象- 抛出:
IOException
- 如果从输入流读取头数据时发生错误- 另请参阅:
-
-
方法详细资料
-
resolveObject
- 覆盖:
resolveObject
在类中ObjectInputStream
- 抛出:
IOException
-