public class BukkitObjectInputStream
extends java.io.ObjectInputStream
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.
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, 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 |
BukkitObjectInputStream()
构造函数提供镜像连接父类的功能.
|
|
BukkitObjectInputStream(java.io.InputStream in)
输入流作为参数的构造函数.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.Object |
resolveObject(java.lang.Object obj) |
available, close, defaultReadObject, enableResolveObject, 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, skipBytesprotected BukkitObjectInputStream()
throws java.io.IOException,
java.lang.SecurityException
原文:Constructor provided to mirror super functionality.
java.io.IOException - 如果从输入流读取头数据时发生错误java.lang.SecurityExceptionObjectInputStream.ObjectInputStream()public BukkitObjectInputStream(java.io.InputStream in)
throws java.io.IOException
原文:Object input stream decoration constructor.
in - InputStream对象java.io.IOException - 如果从输入流读取头数据时发生错误ObjectInputStream.ObjectInputStream(InputStream)