Class FSTStringBuilderSerializer
java.lang.Object
org.nustaq.serialization.FSTBasicObjectSerializer
org.nustaq.serialization.serializers.FSTStringBufferSerializer
org.nustaq.serialization.serializers.FSTStringBuilderSerializer
- All Implemented Interfaces:
FSTCrossPlatformSerialzer
,FSTObjectSerializer
Created with IntelliJ IDEA.
User: ruedi
Date: 12.11.12
Time: 01:20
To change this template use File | Settings | File Templates.
-
Field Summary
Fields inherited from interface org.nustaq.serialization.FSTObjectSerializer
REALLY_NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninstantiate
(Class objectClass, FSTObjectInput in, FSTClazzInfo serializationInfo, FSTClazzInfo.FSTFieldInfo referencee, int streamPosition) return null to delegate object instantiation to FST.Methods inherited from class org.nustaq.serialization.serializers.FSTStringBufferSerializer
alwaysCopy, writeObject
Methods inherited from class org.nustaq.serialization.FSTBasicObjectSerializer
readObject, willHandleClass, writeTupleEnd
-
Constructor Details
-
FSTStringBuilderSerializer
public FSTStringBuilderSerializer()
-
-
Method Details
-
instantiate
public Object instantiate(Class objectClass, FSTObjectInput in, FSTClazzInfo serializationInfo, FSTClazzInfo.FSTFieldInfo referencee, int streamPosition) throws Exception Description copied from interface:FSTObjectSerializer
return null to delegate object instantiation to FST. If you want to implement object instantiation yourself, usually you leave the readObject method empty and handle instantiation and reading the object here. You must call registerObjectForWrite immediately after creating it on the FSTObjectInput- Specified by:
instantiate
in interfaceFSTObjectSerializer
- Overrides:
instantiate
in classFSTStringBufferSerializer
- Throws:
Exception
-