public class FSTStringSerializer extends FSTBasicObjectSerializer
| Modifier and Type | Field and Description |
|---|---|
static FSTStringSerializer |
Instance |
| Constructor and Description |
|---|
FSTStringSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
instantiate(Class objectClass,
FSTObjectInput in,
FSTClazzInfo serializationInfo,
FSTClazzInfo.FSTFieldInfo referencee,
int streamPositioin)
return null to delegate object instantiation to FST.
|
void |
writeObject(FSTObjectOutput out,
Object toWrite,
FSTClazzInfo clzInfo,
FSTClazzInfo.FSTFieldInfo referencedBy,
int streamPosition)
write the contents of a given object
|
boolean |
writeTupleEnd() |
alwaysCopy, readObject, willHandleClasspublic static FSTStringSerializer Instance
public void writeObject(FSTObjectOutput out, Object toWrite, FSTClazzInfo clzInfo, FSTClazzInfo.FSTFieldInfo referencedBy, int streamPosition) throws IOException
FSTObjectSerializerIOExceptionpublic Object instantiate(Class objectClass, FSTObjectInput in, FSTClazzInfo serializationInfo, FSTClazzInfo.FSTFieldInfo referencee, int streamPositioin) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
FSTObjectSerializerinstantiate in interface FSTObjectSerializerinstantiate in class FSTBasicObjectSerializerIOExceptionClassNotFoundExceptionInstantiationExceptionIllegalAccessExceptionpublic boolean writeTupleEnd()
writeTupleEnd in interface FSTCrossPlatformSerialzerwriteTupleEnd in class FSTBasicObjectSerializerCopyright © 2015. All rights reserved.