com.jme3.network.serializing.serializers
クラス SerializableSerializer
java.lang.Object
com.jme3.network.serializing.Serializer
com.jme3.network.serializing.serializers.SerializableSerializer
public class SerializableSerializer
- extends Serializer
Serializes uses Java built-in method.
TODO
メソッドの概要 |
java.io.Serializable |
readObject(java.nio.ByteBuffer data,
java.lang.Class c)
Read an object from the buffer, effectively deserializing it. |
void |
writeObject(java.nio.ByteBuffer buffer,
java.lang.Object object)
Write an object to the buffer, effectively serializing it. |
クラス com.jme3.network.serializing.Serializer から継承されたメソッド |
getExactSerializer, getExactSerializerRegistration, getSerializer, getSerializer, getSerializerRegistration, getSerializerRegistration, initialize, readClass, readClassAndObject, registerClass, registerClass, registerClass, registerPackage, setStrictRegistration, writeClass, writeClassAndObject |
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializableSerializer
public SerializableSerializer()
readObject
public java.io.Serializable readObject(java.nio.ByteBuffer data,
java.lang.Class c)
throws java.io.IOException
- クラス
Serializer
の記述:
- Read an object from the buffer, effectively deserializing it.
- 定義:
- クラス
Serializer
内の readObject
- パラメータ:
data
- The buffer to read from.c
- The class of the object.
- 戻り値:
- The object read.
- 例外:
java.io.IOException
- If deserializing fails.
writeObject
public void writeObject(java.nio.ByteBuffer buffer,
java.lang.Object object)
throws java.io.IOException
- クラス
Serializer
の記述:
- Write an object to the buffer, effectively serializing it.
- 定義:
- クラス
Serializer
内の writeObject
- パラメータ:
buffer
- The buffer to write to.object
- The object to serialize.
- 例外:
java.io.IOException
- If serializing fails.