com.googlecode.icegem.serialization.serializers
Class JodaTimeDataSerializer

java.lang.Object
  extended by com.gemstone.gemfire.DataSerializer
      extended by com.googlecode.icegem.serialization.serializers.JodaTimeDataSerializer
All Implemented Interfaces:
SerializationID

public class JodaTimeDataSerializer
extends com.gemstone.gemfire.DataSerializer
implements SerializationID

User: akondratyev


Field Summary
 
Fields inherited from class com.gemstone.gemfire.DataSerializer
DEBUG, DISALLOW_JAVA_SERIALIZATION, DUMP_SERIALIZED, TRACE_SERIALIZABLE
 
Fields inherited from interface com.googlecode.icegem.SerializationID
BASE, JODA_TIME_DATA_SERIALIZER_ID, TIMESTAMP_DATA_SERIALIZER_ID, UUID_DATA_SERIALIZER_ID
 
Constructor Summary
JodaTimeDataSerializer()
           
 
Method Summary
 Object fromData(DataInput dataInput)
           
 int getId()
           
 Class<?>[] getSupportedClasses()
           
 boolean toData(Object o, DataOutput dataOutput)
           
 
Methods inherited from class com.gemstone.gemfire.DataSerializer
equals, getContext, getEventId, hashCode, readArrayList, readArrayOfByteArrays, readBoolean, readBooleanArray, readByte, readByteArray, readCharacter, readCharArray, readClass, readDate, readDouble, readDoubleArray, readEnum, readFile, readFloat, readFloatArray, readHashMap, readHashSet, readHashtable, readIdentityHashMap, readInetAddress, readIntArray, readInteger, readLinkedHashSet, readLinkedList, readLong, readLongArray, readObject, readObjectArray, readPrimitiveBoolean, readPrimitiveByte, readPrimitiveChar, readPrimitiveDouble, readPrimitiveFloat, readPrimitiveInt, readPrimitiveLong, readPrimitiveShort, readProperties, readRegion, readShort, readShortArray, readStack, readString, readStringArray, readTreeMap, readTreeSet, readUnsignedByte, readUnsignedShort, readVector, register, register, setContext, setEventId, writeArrayList, writeArrayOfByteArrays, writeBoolean, writeBooleanArray, writeByte, writeByteArray, writeByteArray, writeCharacter, writeCharArray, writeClass, writeDate, writeDouble, writeDoubleArray, writeEnum, writeFile, writeFloat, writeFloatArray, writeHashMap, writeHashSet, writeHashtable, writeIdentityHashMap, writeInetAddress, writeIntArray, writeInteger, writeLinkedHashSet, writeLinkedList, writeLong, writeLongArray, writeObject, writeObject, writeObjectArray, writeObjectAsByteArray, writePrimitiveBoolean, writePrimitiveByte, writePrimitiveChar, writePrimitiveDouble, writePrimitiveFloat, writePrimitiveInt, writePrimitiveLong, writePrimitiveShort, writeProperties, writeRegion, writeShort, writeShortArray, writeStack, writeString, writeStringArray, writeTreeMap, writeTreeSet, writeUnsignedByte, writeUnsignedShort, writeVector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JodaTimeDataSerializer

public JodaTimeDataSerializer()
Method Detail

getSupportedClasses

public Class<?>[] getSupportedClasses()
Specified by:
getSupportedClasses in class com.gemstone.gemfire.DataSerializer

toData

public boolean toData(Object o,
                      DataOutput dataOutput)
               throws IOException
Specified by:
toData in class com.gemstone.gemfire.DataSerializer
Throws:
IOException

fromData

public Object fromData(DataInput dataInput)
                throws IOException,
                       ClassNotFoundException
Specified by:
fromData in class com.gemstone.gemfire.DataSerializer
Throws:
IOException
ClassNotFoundException

getId

public int getId()
Specified by:
getId in class com.gemstone.gemfire.DataSerializer


Copyright © 2011. All Rights Reserved.